Questions and Answers
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
hello, I changed the header by adding "x-pagination-limit" with a value of 20, but the result still shows only 10 lists. is the pagination header not working?
I am sending post request successfully and response status 201 but there is no response body. Also it doesn't exist in the API logs.
Hello i'm getting error 403 forbbiten acces when using axios.get on https://gorest.co.in/public/v2/users
this is my code:
try{
let users = await axios.get('https://gorest.co.in/public/v2/users?access-token=MY-TOKEN-HERE)
console.log(users)
} catch(err) {
console.log(err)
}
I'm just trying this public API's by creating yaml and tested in swagger editor, there I got response from protected resources(POST/PUT/DELETE) by passsing the Authentication bearer token ,
But I want to test the same scenarios after imported yaml file into wso2 API-Manager 4.1.0 , deployed and published in publisher portal "https://localhost:...
where can I see the request body and response body of below sample API 's ?
Create a new user
Get user details
Update user details
Delete user
I get a 422 response with all the users fields said to be blank. But as you can see the sent payload is filled.
In the logs I get this:
```
Route: /public/v2/users
body: {"name":"MyTest","email":"email@gfds.net","gender":"male","status":"inactive"}
Error message: [{"field":"email","message":"can't be blank"},{"field":"name","message":"can't be ...