Question
1
Replies
76
Views
Accenture
Posted: September 11, 2020
Last activity: September 14, 2020
How to pass POST parameters on launch of a URL
We have a requirement to pass POST parameters in to a URL. Client application wants the parameters to be passed in the body and not as part of the URL.
Launch of a URL in a browser window can only be a GET.
Some SSO protocols do a 'trick' for this by having a GET load a HTML form that looks something like this:
... and also includes some Javascript to auto-submit the form. It's a bit flickery as it is 2x server trips, and is dependent on the browser having Javascript turned on.
Perhaps you could do something similar? See SAML 1.1 - Browser/POST Profile on Wikipedia for more information on this technique and how it is used in SAML.