REST (REpresentational State Transfer)

What is the data format used in REST?

Mostly JSON is used but XML can also be used.

Important Things to Remember about REST

REST calls can be made over HTTP
REST is language independent which means that projects developed in any language can use APIs.

REST over HTTP

HTTP MethodCRUD Operation
POSTCreates a new entitiy
GETRead a list of entities or a single entity
PUTUpdate an existing entity
DELETEDelete an existing entity

Where can you find REST APIs?

A good place to start is http://www.programmableweb.com. Some APIs are free while other are paid. It’s a good way to start learning.

Leave a comment

Design a site like this with WordPress.com
Get started