Questions and Answers
why my posts and user are deleted next day? i need to work some time
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
i am unable to use my token ,it is not working
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...
While sending below Post REQUEST to create new user in the end point : https://gorest.co.in/public/v2/users ,
[
{
"email": "testric1234@yopmail.com",
"name": "Ric Jais",
"gender": "female",
"status": "active"
}
]
It gives below-
[
{
"field": "email",
"message": "can't be blank"
},
{
"field"...
While sending Post REQUEST in the following end point : https://gorest.co.in/public/v2/users , Input is provided via CSV File. Facing 422 Unprocessable entity .
Iteration is displayed as 1.
Same error , when we try to create more than one user in a same json request body.
i have problem with " Access to fetch at 'https://gorest.co.in/public-api/posts?page=9' from origin 'http://127.0.0.1:5500' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS dis...
Hi!
I can get the posts/comments/users without the authentication token, but if I try to use it I get a CORS error:
Access to XMLHttpRequest at 'https://gorest.co.in/public/v2/comments' from origin 'http://localhost:4200' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: The value of the 'Access-Co...
where i can found Access Token
I need a WSDL file or path for Gorest.co.in