Tuesday, February 9, 2010

HTTP & REST & SOAP

HTTP - Hypertext Transfer Protocol
POST - submits data to be processed (e.g., from an HTML form) to the identified resource
GET - requests a representation of the current state of this resource
PUT - (idempotent) create or update this resource with the accompanying representation
DELETE - (idempotent) remove this resource
HEAD - like GET but only response headers are returned

REST - Representational State Transfer
a style of software architecture for distributed hypermedia systems

SOAP - Simple Object Access Protocol. Performs Remote Procedure Calls (RPC) based on information in XML documents.

Atom Publishing Protocol (based on REST)
POST - create content
GET - retrieve content
PUT - edit content
DELETE - delete content