Use RESTful service URLs

Under REST principles, a URL identifies a resource. The following URL design patterns are considered REST best practices:

Response Http Status Code

Other commonly seen codes include:

jQuery Ajax Request