Why Are Rest APIs Good?
Learn how REST APIs are good.
We'll cover the following
A quick glance at REST APIs
The concept behind REST APIs can be difficult to get comfortable with. The idea is that by placing strict limits on the API, it becomes a lot easier to scale your application to many processes and serving many users, while avoiding the computational bottlenecks that grind response times to a slow crawl. Without realizing this, programmers often find ways around the REST API restrictions and then pay for it with poor scaling. The right way to think about it is to fully adopt the REST “philosophy” and translate your application into its language, which involves thinking in terms of resources and allowed actions on those resources. The basic purpose of a REST approach is to eliminate all ongoing ties between the server and the client. As a result, any server process can handle any client request.
Get hands-on with 1200+ tech skills courses.