M
API returns data without token
Muhittin Darı over 3 years ago 4042 views 2 replies
Hi, https://gorest.co.in/public/v2/users endpoint is returning data even i dont set a token or set a wrong one ? How this can be possible ?
2 replies
Z
zeevy over 3 years ago
Token not required for GET api,
Token is required in GET api to retrieve the data that you created or modified
Invalid tokens are ignored and api will return the public data
Z
zeevy over 3 years ago
Now invalid tokens returns 401 error