Pro RESTful APIs with Micronaut by Sanjay Patni

Pro RESTful APIs with Micronaut by Sanjay Patni

Author:Sanjay Patni
Language: eng
Format: epub
ISBN: 9781484292006
Publisher: Apress


304: Not Modified

404: Not Found

401: Unauthorized

403: Forbidden

Check out this good Wikipedia entry for all HTTP status codes: https://en.wikipedia.org/wiki/List_of_HTTP_status_codes.

Versioning

Never release an API without a version.Make the version mandatory.

Specify the version with a “v” prefix. Move it all the way to the left in the URL so that it has the highest scope (e.g., /v1/dogs).

Use a simple ordinal number. Don’t use the dot notation like v1.2, because it implies a granularity of versioning that doesn’t work well with APIs—it’s an interface, not an implementation. Stick with v1, v2, and so on.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.