cancel
Showing results for 
Search instead for 
Did you mean: 

How to consume a custom API Proxy on Postman

SaurabhN
Participant
0 Kudos

Hi,

I am new to SAP API management. I was able to create custom API Proxy by following various SAP blogs and SAP help document.

Below is the screenshot of APIProxy consumption, by providing SAP Gateway credential and a header:

I want to expose this API on postman without providing SAP Gateway credential.

How do i add other way to access this API Proxy via postman?

How to add 'Accept-Encoding' header into API Proxy?

Kindly suggest a way.

Thank you.

View Entire Topic
MortenWittrock
Active Contributor
0 Kudos

Hi Saurabh

If you want to be able to call the API without providing credentials, you can add basic authentication by way of the Basic Authentication policy. You can hardcode the credentials or look them up in a Key Value Map. As for the header, I'm assuming you mean how to add this header in API Management before hitting the SAP Gateway backend. You can add a header with the Assign Message policy.

Regards,

Morten

SaurabhN
Participant
0 Kudos

It worked.

Thank you.

MortenWittrock
Active Contributor
0 Kudos

Hi saurabh-singh-tk

Glad to hear it!

Regards,

Morten