Some of the requests used in REST are as follows:
GETrequest retrieves a representation of a resource from server to client
POSTrequest is used to create a resource on the server based on the representation that the client sends
PUTrequest is used to update or create a reference to a resource on server
DELETErequest can delete a resource on server
HEADrequests checks for a resource without retrieving it
The next section will introduce the notion of safety and idempotence, two important terms associated with REST.
When it comes to REST, a safe method, by definition, is a HTTP method that does not modify the state of the resource on the server. For example, invoking ...