Skip to Content

HCI Rest post Scenario with Bearer Token

Aug 28, 2017 at 05:22 AM


avatar image

1) I am using HTTP adapter for rest scenario for post data , for authentication i am using bearer and 4 others header that i added in content modifier before http adapter.

2) Bearer and all header values are constant so i added in content modifier
a) Content modifer>header> creater and values and data type header and in http adapter only url is added and in authentication i selected none as i provided header details in content modifier header , but i am unable to post data.

3) In hci it shows me completed either i add bearer and all the headers, as all the headers are mandatory.

4) But i am able to post in postman.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

avatar image
Former Member May 18 at 03:11 PM

Hello Sidharth Mehta!

Were you able to solve this issue?
I'm also facing a similar issue with Bearer token. Even if I hardcode the token while calling the API SAP Cloud Platform puts *** on Authorization header leading to a 401 - Unauthorized error.

Thank you.

10 |10000 characters needed characters left characters exceeded