Go REST
K

Getting response "message": "Authentication failed" while doing POST in postman ""message": "Authentication failed""

Kalyan Kumar over 3 years ago 3810 views 3 replies

Authorization : Bearer ba1017f6c901adb5b42969ee70a334e94b4ec3ee870e80f2ad17ce3d67250d3b

status : 401 Unauthorized

{
message: Authentication failed
}

3 replies
Z
zeevy over 3 years ago

Can you please try importing the curl example into postman ( Raw text )

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

M
Maulana Iberahim over 3 years ago

I have the same problem, I tried importing the curl into postman, but it doesn't work

K
Karina Lucas over 3 years ago

I have the same problem

Your reply

Markdown supported