We have a requirement to redirect a user to a third-party server in a new browser tab on a button click.
I created an APEX page with two items: First Name and Last Name and I created a Submit button. Now on-click of the Submit button, I want a user to redirect to a third-party server in a new tab by passing the value of these two items using the form POST method.
Here is the W3 School example and this is a similar thing I want to achieve from APEX.
W3Schools online HTML editor (0 Bytes)I also went through this thread but it is not redirecting users to the new tab.
https://community.oracle.com/tech/developers/discussion/4170062/apex-web-service-make-rest-request-post-method-p-parm-names-values
@Carsten Czarski-Oracle, could you help me to understand is this possible from APEX or not?
As a workaround, we created a REST API and created a dummy page outside of the APEX application to invoke this REST API and get the values of the items of APEX and, then redirect the user to the new tab.