I am trying to parse my URL which is an endpoint to fetch data (GET) but for that I need Authorization(Token) to be passed in Headers with the request.
Currently I have shortend my URL with polr and trying to pass the parameter in its header.
I have created URL like shown in below API call:
https://.com/api/v2/action/shorten?key=#keyval&url=https://endpoint-url/val/
and trying to get the data using below command:
https://.com/1 with authorization token in header.
But getting error as Unauthorized. Can you please help me with this.
Hello Team,
I am trying to parse my URL which is an endpoint to fetch data (GET) but for that I need Authorization(Token) to be passed in Headers with the request. Currently I have shortend my URL with polr and trying to pass the parameter in its header.
I have created URL like shown in below API call: https://.com/api/v2/action/shorten?key=#keyval&url=https://endpoint-url/val/
and trying to get the data using below command: https://.com/1 with authorization token in header.
But getting error as Unauthorized. Can you please help me with this.