I need to load an iframe using a src attribute. There is a lot of additional information I need to attach to the query. Currently, I just put all this information in a parameter like so:
<iframe src="mywebsite.com/get_iframe?aVeryLongString"></iframe>
However, aVeryLongString can get very long. So long that I get a "414 (Request-URI Too Large)" error from the server.
Is there a way to make this request without getting this error?
Note: The url of the iframe comes with its own Content-Security-Policy, so I can't just use srcdoc instead of src. Unless there is a way to force the CSP even if you use srcdoc?