Skip to Content
0
Aug 11, 2023 at 06:21 PM

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

345 Views Last edit Aug 11, 2023 at 10:51 AM 2 rev

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:

smoke-test-scenario-integration-flow.png

integration-flow-details.png

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 ?

rest-api-request-postman-anom.png

Thanks,