Index Page

Thursday, 2 April 2020

Important Response Codes of API response

Important Response Codes of API response:


Response Code
     Definition
100
The HTTP 100 Continue informational status response code indicates that everything so far is OK and that the client should continue with the request or ignore it if it is already finished.
200
202
204
Success. See the response body for the result payload. 
Created
No Content
400
Bad input. Required fields missing from input or are malformed. 
401
Unauthorized. Authentication failure; invalid credentials. 
402
403
404
Payment required. No active subscription found. 
Forbidden
Not Found
500

501
502
503
Internal server error. General service failure; retry request. 
Not Implemented
Bad Gateway
Service Unavailable

300
The HTTP 300 Multiple Choices redirect status response code indicates that the request has more than one possible response.


Interview Questions from this Page:

a. What is the meaning of Response Code 200, 201, 400, 401, 403, 404?
b. What is the meaning of Response Code 500, 501, 502?

No comments:

Post a Comment