Go REST
L

Authentication Failed

Luis Ramirez over 1 year ago 3244 views 2 replies

I'm having problem with my authentication token, I set up as a Barer Token at the Collection level authorization tab, and at the moment to run my query Im getting the message: Authentication failed. Anyone knows why ??

2 replies
Z
zeevy over 1 year ago

can you please provide your code sample.

You can check the curl example at home page

L
Luis Ramirez over 1 year ago

Hi Zeevy, it seems like everything is ok, but not. I already try with two different tokens and get the same unauthorized response.

curl -i -H Accept:application/json -H Content-Type:application/json -H Authorization: Bearer 9304f0b18298ecda9f1fb53a8d223d1c6b5b44d1f0e89501718475dd72040f5b -XPOST https://gorest.co.in/public/v2/users -d '{name:Tenali Ramakrishna, gender:male, email:tenali.ramakrishna@15ce.com, status:active}'

Your reply

Markdown supported