In this post i will explain the differences between OData, REST, REST API
** Is built on top of the AtomPub protocol. The AtomPub protocol is one of the best examples of REST API design. So, in a sense you are right – the OData is just another REST API and each OData implementation is a REST-ful web service.
** It is protocol.
** OData – the best way to REST. It is an open protocol to allow the creation and consumption of queryable and interoperable RESTful APIs in a simple and standard way.
** Is architecture style and design pattern
** Is an architecture of how to send messages over HTTP.
** REST is a software architechure style, just the description of what should you do and how do get yourself a scalable web service
** Application Programming Interface made by REST architechure standarts
In summary, OData is one way of REST. other people have explained REST is a design pattern an architectural, an interface while Data is a concrete protocol.
So, REST = Architectural style, Odata = protocol which is built with the aforementioned architectural style. REST API = an implementation which with the aforementioned architectural and may or may not use Data protocol
Join the discussion