Representational State Transfer (REST)

This is used for the purpose of data communication across web APIs. The REST API works pretty much in the same way as a website: you make a call from the client to the server and get a HTTP response back. REST uses HTTP methods to interact with the client and the server. REST allows a variety of data formats such as JSON or XML. It is generally faster and uses less bandwidth. It is also easy to integrate with other applications.

Commonly used HTTP methods in REST APIs include the following:

  • GET: This is used for retrieving a data through APIs. It is a read-only method. It is safe to use duplicate GET methods.
  • PUT: This is used to change or update a data using APIs. It is a write method, and we can use ...

Get Practical Site Reliability Engineering 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.