What is REST?

REST stands for representational state transfer, which is a way for computers to communicate and interoperate with each other. It has become the de facto architectural style for web applications and the fact that it's built on top of the hypertext transfer protocol (HTTP) makes it more powerful. HTTP is as widespread as the internet itself, and REST services can reuse the same infrastructure, without needing to open any special ports in the firewall. Besides, one can leverage HTTP methods such as GET, POST, PUT, and so on to assign semantic meanings to the various operations on the server.

REST is extremely light weight and can be consumed/accessed by embedded devices or mobile devices where the computational power is low, and ...

Get Kotlin Blueprints now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.