Questions and Answers

Authentication failed

Authentication failed

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

Authorization : Bearer ba1017f6c901adb5b42969ee70a334e94b4ec3ee870e80f2ad17ce3d67250d3b status : 401 Unauthorized { "message": "Authentication failed" }

Which url si correct to connect to

Hi, what url should I use to connect to the API? (https://gorest.co.in/) or (https://gorest.co.in/public/v2/users) Im a bit confused which one to connect to.

Creating a Login Authorization with the Token

I need to create a website with this service that has a login page and accepts exactly the token that is provided when registering for the service. However, the GET URL returns results even with the missing or incorrect token, while the POST URL forcibly creates a new user. What can I do?

for new account

my account has been deleted how can i get new one?

401 Unauthorize

Post method holds the token (bearer token) generated from the gorest.co.in site. still not working. Please let me now if anything other need to be done.

posts

why my posts and user are deleted next day? i need to work some time

Getting a 422 error while making a post request

const res = await fetch( "https://gorest.co.in/public/v2/posts", { headers: { "Authorization": Bearer ${API_TOKEN}, 'Accept': 'application/json', "Content-Type": 'application/json' } } Respose data says "user" must exist. It worked 2-3 times before

my token is not working

i am unable to use my token ,it is not working

CORS Error

Hi team, Not able to do a POST request to the below endpoint/API. Kindly advise may be there is a missing CORS setting. https://gorest.co.in/public-api/users Access to fetch at 'https://gorest.co.in/public-api/users' from origin 'https://mydomain.dummyinternet.com' has been blocked by CORS policy: Response to preflight request doesn't pass acces...