Skip to main content

Posts

Showing posts from December 27, 2020

What are the Status code for API testing?

Status codes   are issued by a server in   response   to a client's request made to the server. ... All HTTP   response status codes   are separated into five classes or categories. The first digit of the   status code   defines the class of   response , while the last two digits do not have any classifying or categorization role. The status codes are divided into the five categories. 1xx: Informational   – Communicates transfer protocol-level information. 2xx: Success   – Indicates that the client’s request was accepted successfully. 3xx: Redirection   – Indicates that the client must take some additional action in order to complete their request. 4xx: Client Error   – This category of error status codes points the finger at clients. 5xx: Server Error   – The server takes responsibility for these error status codes. #1) 100 Series These are temporary Responses 100 Continue 101 Switching Protocols 102 Processing #2) 2...