Requests working fine in Postman but 401 Unauthorized when using SFCC code base?

Options

Can anyone help me to resolve this issue ?. I am using SFCC to retrieve data by World Check One API. Requests are returning error 401.

Note : In postman, all requests passed.

PostMan-requet-data.txt In post man:-


This is our code snippets getting 401 error from salesforce plat form

image

Answers