May 2019
Beginner to intermediate
548 pages
12h 39m
English
The OData protocol, in its simplest implementation, supports four basic Create, Read, Update, and Delete (CRUD) methods. Each of these represent the respective HTTP methods: POST, GET, PUT/MERGE, and DELETE. Furthermore, each resource, which can be manipulated by the aforementioned methods, is uniquely identified by the Unique Resource Identifier (URI). Both the request and response bodies can be either in XML or in JSON format (the former may contain more information, whereas the latter is much lighter). Some simple requests using this protocol are presented in the following code snippet.
The following code snippet results in the creation of a new flight from London to Paris:
POST /Flights{ "Destination":"London", "Departure":"Paris" ...Read now
Unlock full access