What exactly is a REST API?

A RESTful API is an architectural style for an application program interface (API) that uses HTTP requests to access and use data . That data can be used to GET, PUT, POST and DELETE data types, which refers to the reading, updating, creating and deleting of operations concerning resources.

Read more

Why is REST API used?

One of the key advantages of REST APIs is that they provide a great deal of flexibility . Data is not tied to resources or methods, so REST can handle multiple types of calls, return different data formats and even change structurally with the correct implementation of hypermedia.

Read more