S
How can we get 400 from POST /users endpoint?
Sarthak Gupta almost 2 years ago 2672 views 3 replies
I have tried with invalid request body but always getting response 401 with message authentication failed.
3 replies
Z
zeevy almost 2 years ago
{'adff' => asdfsdaf}
try above body
Z
zeevy almost 2 years ago
with valid token
S
Sarthak Gupta almost 2 years ago
Hi
i get 401 error with valid token. Below is my request and response
POST https://gorest.co.in/public/v2/users/
{
adff
: ahshshsh
}
Response
401 Unauthorized
{
message
: Authentication failed
}