cydrobolt / polr

:aerial_tramway: A modern, powerful, and robust URL shortener
https://polrproject.org
GNU General Public License v2.0
4.95k stars 893 forks source link

Unauthorized for URL #601

Open sumitrathi95 opened 3 years ago

sumitrathi95 commented 3 years ago

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.