Sunday, October 13, 2013

RESTful API Design

Excerpted from:

Source: response codes are included in the HTTP Status response header. Possible status codes include:
·         200: Success (upon a successful GET, PUT, or DELETE request)
·         201: Created (upon a successful POST request)
·         400: Resource Invalid (improperly formatted request)
·         401: Unauthorized (incorrect or missing authentication credentials)
·         404: Resource Not Found
·         405: Method Not Allowed (in case some HTTP method of GET/POST/PUT/DELETE is not supported for a given URI).
·         406: Not Acceptable

·         500: Application Error

No comments:

Book Review: The Sign of Four by Arthur Conan Doyle

The Sign of Four by Arthur Conan Doyle My rating: 5 of 5 stars It is the second Sherlock Holmes book after "A Study in Scarlet&quo...