cancel
Showing results for 
Search instead for 
Did you mean: 

How to call rest api in sap btp in integration flow like postman with authentication

lhommeplante
Discoverer
0 Kudos

Hello,

I want to try to make a request from an API like with Postman with authentication (consumer secret, consumer secret, and token).

I tried with simple integration flow without authentication, and it works. I received the response in my payload. Like here Smoke Test Scenario with External Data Source | SAP Help Portal.

My integration flow:

But now I want to try with an another REST API that requires authentication. In postman it's easy to make requests.

Where should I put these fields (key and value) in my integration flow above ?

Thanks,

Accepted Solutions (0)

Answers (1)

Answers (1)

BhaskarY
Participant

Hi Jeanne Fourche,

Set the Authentication as "OAuth Client Credentials" or "OAuth2 SAML Bearer Assertion" as per your authentication method and give the credential name. This credential name will be created before in "Security material" and you need to provide the client secret, content type and other details here.

Regards,

Bhaskar.