Forum Stats

  • 3,781,158 Users
  • 2,254,484 Discussions
  • 7,879,596 Comments

Discussions

Issues with Web source module POST request

2998746
2998746 Member Posts: 20 Red Ribbon
edited Nov 15, 2021 7:51PM in APEX Discussions

Hi All,

I am in the process of calling Okta API for Authentication "Primary Authentication" as shown in the pic below and I tested this using post man and it was working as expected with proper response.

I am trying to integrate this API call out with APEX by making use of "Web Source Modules" (APEX version 19.2) as shown below

There is no Authentication required by this API as it is open. I am unable to discover the service and I am faced with error "405 Method not allowed" when I try to test the POST operation. Thanks to anyone who can help me in this regard.

Answers

  • 2998746
    2998746 Member Posts: 20 Red Ribbon
    edited Nov 15, 2021 11:56AM

    There is an alternate for me, which is to make use of "UTL_HTTP" package in Oracle to get a response and traversing the JSON to get the required data, but making use of "Web Source Modules" would be an easy way as JSON is natively handled by APEX itself internally.