Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
APEX_WEB_SERVICE.MAKE_REST_REQUEST Calling OIC — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

APEX_WEB_SERVICE.MAKE_REST_REQUEST Calling OIC

Accepted answer
1
Views
6
Comments

Hello Everyone!

I have a situation, I have been using the APEX_WEB_SERVICE.MAKE_REST_REQUEST with the POST method(REST Call) to run the token based OIC Pooler integration. 

When we execute the PLSQL programme below, the OIC integration is kicking in OIC tool, however it throws an error at the first level. with out providing any error messgae.


SET SERVEROUTPUT ON


DECLARE

  l_clob CLOB;

BEGIN


 apex_web_service.g_request_headers(1).name := 'Authorization';

  apex_web_service.g_request_headers(1).value := 'Bearer eyJ4NXQjXXXXXXXXXXXXXXXXXX';--> token value Passing 

  apex_web_service.g_request_headers(1).name := 'Accept';

  apex_web_service.g_request_headers(1).value := 'application/json';

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!