5. REST - The Way of the Web
1. Nouns, not verbs
2. Standard methods
3. Multiple
representations
4. Links everywhere
6. Resources with Uniform Interface
GET
http://srv/spaces/
addspacenotification.action?key=AJOBS
POST
http://srv/spaces/AJOBS/notifications
GET, PUT, DELETE
http://srv/spaces/AJOBS/notifications/3
7. Follow HTTP Traffic Laws
GET- No side-effects, can
repeat
POST- Changes state,
cannot repeat
PUT- Changes state, can
repeat
DELETE - Changes state,
can repeat