3. Representational State Transfer (REST) is a style of
software architecture for distributed hypermedia
systems such as the World Wide Web
http://roy.gbiv.com/pubs/dissertation/top.htm
REST
4. GET, POST, PUT, DELETE, TRACE,
OPTIONS, CONNECT, HEAD
http://tools.ietf.org/html/rfc2616
HTTP Verbs
6. Nouns are resources you act upon
Verbs are what you do to those resources
Generally this means GET, POST, PUT and DELETE
Nouns and Verbs
7. No matter what web server you have, and no matter
what web client I have, I know if I see a URL of your,
that I can retrieve the associated document using
HTTP GET, with no advance co-ordination needed
other than agreement on the relevant specs
http://rest.blueoxen.net/cgi-bin/wiki.pl?AnotherRestDescription
Cool Stuff
10. GET /photos/garethr
GET /people/garethr/contacts
PUT /photos/garethr
PUT /people/garethr/contacts/
PUT /people
GET /photos/garethr/tags
Flickr RESTful API?
17. posright Position of the right ear between 0 and 16
posleft Position of the left ear between 0 and 16
ears=ok Send the position of the ears
http://api.nabaztag.com/vl/FR/api.jsp
Nabaztag API
18. GET /ears/left
GET /ears/right
PUT /ears/left
PUT /ears/right
POST /mouth
GET /name
Nabaztag RESTful API