Posted On: Feb 22, 2018
The options the REST are annotations that are used to indicate whether a method responds to the HTTP OPTIONS request only. It allows the client of the REST API to determine what HTTP methods (GET, HEAD, POST, PUT, DELETE) can be used for the resource identified by the requested URI. The client determines without initiating a resource request.
The REST OPTIONS method is also used for the CORS (Cross-Origin Resource Sharing) request.
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 ...