- Loading...
- No images or files uploaded yet.
|
|
Web ServicesRESTREST wiki = http://rest.blueoxen.net/
Resource-orientedGET /accounts/v1/bob/balance # retrieve Bob's balance PUT /accounts/v1/bob/balance # update Bob's balance DELETE /accounts/v1/bob # remove Bob's account
MethodsGET = retrieve PUT = create new resources (should be able to GET right back from it) DELETE=delete whole resources POST=submit data for processing (doing GET afterwords would return different data)
Responses1XX=internal HTTP functions 2XX=successful responses 200=OK 201=Created
3XX=redirection/caching 4XX=client-side problem 404=Not Found 405=Method Not Allowed (along with Allow HTTP header describing what is)
410=Removed Resources (Gone) 414=Request-URI Too Long (2048 bytes max) 5XX=server-side problem 500=Server Error
URL
CachingHTTP 1.1 Cache-Control
|
Comments (0)
You don't have permission to comment on this page.