Suppose that we have two pages: A.html
and B.html
. They don't have the same origin (same domain, port or something), but I can edit both of them.
I want to embed B.html
into A.html
using iframe
. The elements from B.html
are changed using the passed data to page (using jQuery).
I want to send a very long string from A to B. My first try was using url search parameters:
<iframe src=".../B.html?param=a_very_very_long_encoded_string#some-hash"></iframe>
The application works good only on the local machine, but on web I get 414 Request-URI Too Large
error.
I have no idea how this can be done only using client side.
Is there any alternative or do I must to use server side with POST method?