Have you ever wondered how your favorite apps communicate with one another? From booking flights to checking the weather, APIs are the invisible connectors behind the services we use daily. We constantly interact (directly or indirectly) with various applications. According to statistics from BuildFire, over 4 million mobile applications are currently available on the Google Play Store and Apple App Store alone. Adding China's app stores, this number jumps to almost 9 million (source: Forbes).
As for web apps, the amount is hard to determine, but given statistics saying there are over 200 million active websites (source: DigitalSilk), we can assume there are millions of available web apps. These applications have different purposes, and no application is comprehensive enough to cover all the tasks; hence, they need to communicate with each other. For such communication to occur effectively, certain standards have been created that define rules and protocols describing how the communication should work.
Having in mind the scale and the necessity of app communication, we'll look into the process of building a RESTful API using Ruby on Rails, one of the most popular web frameworks, to learn what it is and how it works. Whether working with a Ruby on Rails development company or in-house developers, you will benefit from understanding these practices.