Skip to main content
Question

Action to redirect a user to the external site via POST


Hi All,

We need to implement action that will redirect a user to the external site via POST request that will contain request body with log-in details.
PXRedirectToUrlException allows us to redirect to the URL, but does not allow us to specify POST request method and request body.
Article on Asia Blog suggest to use "Redirect on PageLoad", but it seems that it's sending GET request by using Window.open(url, target). Plus at Page_Load() we don't have access to the db to retrieve all the data for request body.
Is there a way to redirect with POST request and payload (preferably from code)?

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings