Restful Web Services

The most important point about REST is that when people talk of “resource” in terms of an “URI”, they are talking about a “representation of the resource” (usually in the form of XML).

See the note on the GET/POST/PUT/DELETE operations(verbs) here that act on the resource(noun).

  • GET is used to retrieve data or perform a query on a resource. The data returned from the web service is a representation of the requested resource.
  • POST is used to create a new resource. The web service may respond with data or status indicating success or failure.
  • PUT is used to update existing resources or data.
  • DELETE is used to remove a resource or data.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: