A Mobile Application Testing Community
Now a days, API development and API testing has brought a boom in software industry. Rest and Soap are two different types of Webservices.
REST API is web standards based architecture which uses HTTP Protocol for data communication.
REST API stands for REpresentational State Transfer.
Advantages of Rest API
REST allows a greater variety of data formats like: Plain text, HTML, XML, JSON etc.
REST is generally faster
REST requires less bandwidth and resource
REST more preferred than SOAP.
Methods of Rest API : Following are the HTTP methods which are commonly used in REST based architecture.
GET - GET method provides a read only access to a resource.
PUT - Used to update an existing resource or create a new resource.
DELETE - Used to remove a resource.
POST - Used to create a new resource.