Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to submit APEX item value to third party server using form POST method?

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.

Comments
Post Details
Added on Mar 1 2022
5 comments
1,002 views