Many beginners associate REST url’s with url having some
identifier to identify the resource even if the identifier is
present in the url parameter. Here the url seems to be
identifying a resource (product) with an identifier (productid)
1 However technically this is not a RESTful url. REST ways of
looking at resources says that the web is a web of information
resources on which you can take standard actions. HTTP is a good
example of REST with the resources identified by url’s and the
standard actions on those resources are GET, POST, PUT, and
DELETE. The most predominant operations done in HTTP is to get
the resource representation using GET and make updates to it
using POST. A resource oriented RESTful url must serve as an
unique identifier without the additional parameters, meaning the
url itself should have the identifier in itself, something like
this Another important distinction is that the url must not
include any verb rather only nouns because the verbs (actions
that could be performed) are already