A RESTful API allows developers to create web applications that can interact with other applications or services.
The major advantage of a RESTful API is its flexibility and scalability.
This way you can use this RESTful API independent of the device, (Web Browsers, Mobile or Desktop Apps)