Skip to main content

Hi guys,

I've tried to find any related question from this one, and no luck, so here is my doubt:

I want to use HTTPCaller to send a GET, POST, UPDATE,... request to this RESTful API:

API

So, authenticating the request is necessary and I'm not well related to the transformer HTTPCaller, so, I'm not sure if there is any particular option/way to insert the Token within the requests. Should be put the Token value within a the Header? I'm totally lost.

If I plainly send the request

, throws me back a http error:

HTTP/1.1 401 Unauthorized - https://xyz.api.here.com/hub/spaces?includeRights=false&owner;=me

Could you give any hint?

Thanks in advance,

Hi @juanmahere

 

 

It looks like in a different section of the API documentation they discuss how to authorize the REST calls. You can view that here.

 

 

If you have your token, you can input it into the HTTPCaller as a header like this:

 

Authorization: Bearer <token>

0684Q00000ArLf1QAF.png

or alternatively, as a URI query parameter:

access_token=<token>

0684Q00000ArLjyQAF.png


Hi @juanmahere

 

 

It looks like in a different section of the API documentation they discuss how to authorize the REST calls. You can view that here.

 

 

If you have your token, you can input it into the HTTPCaller as a header like this:

 

Authorization: Bearer <token>

0684Q00000ArLf1QAF.png

or alternatively, as a URI query parameter:

access_token=<token>

0684Q00000ArLjyQAF.png

Thanks a lot! How I missed that part on documentation... Oh my god...

 

It served, I've put as indicated and works (got me a 200 response):

 

 

0684Q00000ArMgaQAF.png

 


Reply