cancel
Showing results for 
Search instead for 
Did you mean: 

How to GET request to external API with Bearer Authorization from XSJS?

jfox
Participant
0 Kudos

Hi,
I need to make HTTP GET call to external API with Bearer Authorization (HTTP Header Authorization: Bearer some-token) from my XSJS script. How can I do this?
SAP Hana version 1 SP 12

Thank you.

Accepted Solutions (1)

Accepted Solutions (1)

jfox
Participant
0 Kudos

I solved it by setting header like this (see image)

But, I do know if it is the best solution.

Answers (0)