REST web services use different HTTP methods (
DELETE for example) to perform different operations.
GET is typically used for retrieving data, whereas
PUT is used for storing data.
Well-designed REST web services are modeled such that "reading the URL" explains what the request is for. For example, a
GET request to the
http://localhost/Travel/busroute/1 URL would return information about bus route number 1, ...