Questions and Answers

422 Unprocessable Entity

The status code returned was not expected: 422 Unprocessable Entity for below APEX code Http http = new Http(); HttpRequest request = new HttpRequest(); request.setEndpoint(''); request.setMethod('POST'); system.debug('testbody'+json.serialize(postwrap)); request.setBod...

When i try to update user records in soapui an error occured which shows resource not found??


How to add new user??

when i try to add ,it shows authentication failed ,can anybody help me with this??

How can I include in an iframe?

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 ?

How to DELETE my POST?

I have successfully POST data but don't know the syntax for DELETE, any help?

Response headers empty with fetch

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 getting CORS error when i hit Get API for Users

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.

Data Privacy on API

Data posted to REST API Any new data created or modified by the user on REST API is only visible to that particular user. Since token is only the key to identify the user, user should pass the token for GET requests also (otherwise user won't be able to view the data that he created or modified). This is done to protect the user privacy in case ...

Oauth2 + authorization

Hello Guys, I would like to ask you, how is it possible to get my access tokens so that I can use for example POST method on the APIs? What is the endpoint for authorization and what parameters does it need?