I am trying to consume third party REST API with Oauth2 client credentials flow.
I have done following setup but it is not working.
- Created procedure to call plsql_rest_sender_API.Call_Rest_EndPoint_Empty_Body2 with all required input parameters with call back function also.
- Setup routing rule by passing matching condition value as rest_service value which has given in point 1 call and applied OAuth2 client credentials setup.
- Configured 2 routing address one is REST type and other is PLSQL to read the value which I will get response from REST call.
- Now I tried to call procedure created in point 1 and it has posted application message also but it goes into 500 error.