Skip to main content

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)?

Be the first to reply!

Reply