An Introduction to REST

Let’s get an overview of the principles of RESTful service design, the HTTP protocol, and HTTP status codes.

Principles of RESTful service architecture

Most modern web applications work by exposing their APIs and allowing clients to use these APIs to interact and communicate with them. Although REST is not tied to HTTP, most web services use HTTP as their underlying protocol. Additionally, although REST can work with any data format, usually REST means JSON over HTTP because most of the time, data is exchanged in JSON format in RESTful services. There are also times when data is exchanged in plain text format, usually when the exchanged data is simple, and there is no need for using JSON records.

Get hands-on with 1200+ tech skills courses.