PeopleTools and Lifecycle Management - PSFT (MOSC)

MOSC Banner

Consume 3rd party REST service with Content-Type=application/x-www-form-urlencoded

edited Feb 3, 2022 8:16PM in PeopleTools and Lifecycle Management - PSFT (MOSC) 1 commentAnswered

I am trying to consume a 3rd party REST service with Content-Type=application/x-www-form-urlencoded

I have tested different approach with Postman.

It can be done with a POST or a GET with those configurations:

Header : Content-Type = application/x-www-form-urlencoded

Header : Autorization = Basic <client_id>:<client_secret>

Body : grant_type=client_credentials&scope=https://graph.microsoft.com/.default

I have tried to replicate this with PeopleCode using both a POST and a GET and both are not working for different reasons.

 

Here is the basic of what I'm trying to do with PeopleCode:

&msg = CreateMessage(Operation.<service_operation_POST>); or &msg = CreateMessage(Operation.<service_operation_GET>);

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center