Posted On: Feb 22, 2018
The status code in the REST API is divided into five categories. They are,
1xx – It is used to communicate the transfer protocol-level information.
2xx – It is used to indicate the request was accepted successfully. Some codes are,
3xx – It indicates the client must take additional action to complete the request.
4xx – It is the client error status code.
5xx – It is the server error status code.
Never Miss an Articles from us.
REST, expanded as Representational State Transfer, is an architectural style developed by Roy Fielding in 2000. REST presents a set of constraints to be used in the creation of web services. The servi...
REST supports a group of HTTP methods to manipulate the request and response. They are, GET – It is used to read the representation of a resource. It usually returns the resource in XML or JSON...
In the REST architecture, every content is a resource. It can be a text file, HTML pages, images, videos, or business data. These resources are identified by the URI or global ID’s which can be ...