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


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved