Learning Azure DocumentDB by Riccardo Becker

Learning Azure DocumentDB by Riccardo Becker

Author:Riccardo Becker [Becker, Riccardo]
Language: eng
Format: azw3
Publisher: Packt Publishing
Published: 2015-11-23T05:00:00+00:00


Uniform interface

An important aspect of REST is the uniform interface that simplifies and decouples the REST architecture. This allows systems to change and evolve independently.

Using the GET verb

The HTTP GET method is used to retrieve a resource or a list of resources. The GET verb returns XML or JSON format data and a HTTP response 200 (OK). When the GET fails for some reason it returns response codes in the 400 range like 404 NOT FOUND or 400 Bad Request.

As the GET verb implies, it should be used only for reading data and not manipulating it. Although it is possible to build REST services using the GET verb to modify data, it is bad practice.

The GET verb is idempotent since it does not change the data.



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.