Reputation: 1613
Is it possible to make an iframe use a POST rather than a GET request? I am not trying to post a form into the iframe but load the iframe depending on data generated on the server.
Unfortunately, I can't use Javascript in this case (because it is the company's policy that the checkout must be possible without JS).
Upvotes: 5
Views: 5788
Reputation: 92762
No. IFRAME SRC="/yourscript"
always uses a GET.
(You could POST
to the IFRAME
, or you can GET
a page inside the IFRAME
that POST
s a form using JS; but you specifically said those aren't viable for you)
Upvotes: 3