What is REST?
REST (stands for REpresentational State Transfer) is an architectural style that implements standards between computer systems on the Internet to make it simple for systems to interact with each other. REST has its own rules and limitations, just like different architectural styles. REST systems (also known as RESTful systems) are separate stateless client and server tasks.
What is API?
API (Application Programming Interface) is a computational interface that describes how multiple software components interact and allows applications to exchange data between them. The APIs are standard-compliant (HTTP and REST), developer and automation-friendly, and easy to test. APIs are usually well-documented use and suitable for version control.
REST Client Example
The following is an example REST client to the ReqBin echo URL:
Server response to our REST request: