The architectural style of REST makes it useful to minimise the use of bandwidth which makes an application more appropriate for the internet. It is completely based on resources and it is termed as the 'language of the internet'. REST API are stateless.
Why should we use REST API?
Consider an example where you open the Book My Show app. The application required a lot of input data, as the response is never static and it gives the response based on the data provided. It always shows or updates the movies that is getting released or various cities showing different types of cities showing different languages movies at different times of the day. The application is never static and some or the other data is getting updated.
Read More...