Questions and Answers
thank you for fast reply on my previous question, it does work well with bearer token in GET
One more thing I would like to clarify, is there a limitation for number of requests from a single account or ip?
not going to spam requests but I already experienced unpleasant "too many request" errors after 10-20 requests in other services
How to get the default metadata of api
The status code returned was not expected: 422 Unprocessable Entity
for below APEX code
Http http = new Http();
HttpRequest request = new HttpRequest();
request.setEndpoint('https://gorest.co.in/public/v2/users');
request.setMethod('POST');
system.debug('testbody'+json.serialize(postwrap));
request.setBod...
when i try to add ,it shows authentication failed ,can anybody help me with this??
Hello, I would like to include the data in a iframe but I´m having x-frame-options error, this is for educational purposes
How to get total count of Users/posts/comments/todos ?
I have successfully POST data but don't know the syntax for DELETE, any help?
Updated on feb 18
I think I have found the problem and the solution is to declare the following response header on the GoRest server:
Access-Control-Expose-Headers: X-Pagination-Total,X-Pagination-Pages,X-Pagination-Page,X-Pagination-Limit
Hi, how can I access to pagination headers:
X-Pagination-Total
X-Pagination-Pages
X-Pagination-Page
X-Pagi...
I am learning something in Angular and came up to this and wanted a quick crud api. But seems here when I hit get users i am getting CORS error. Anything that i should do in my Angular for this? Because based on my experience I think this is backend issue.