Go Green Go Green
Loading...

What Is REST? Understand In 200 Words

Author
SPEC INDIA
Posted

January 6, 2020

Updated

June 29th, 2023

REST stands for Representational State Transfer.

It’s a popular language-independent architectural style, widely-used to create web APIs.

REST allows web services to communicate with each other easily. It’s based on an HTTP request-response model.

It was first introduced by Roy Fielding in 2000 in his PhD dissertation.

Web services using REST are called RESTful web services.

When a RESTful API is called, the server will specify (represent) the state of the requested resource to the client.

The representation of the state aka response is provided in JSON, XML, or HTML format.

A web service must meet six architectural constraints to be considered as RESTFUL.

  • Client-server architecture
  • Stateless
  • Uniform interface
  • Cacheable
  • Layered
  • Code on demand (optional)

REST

Stateless is very important property of REST. It means that server and client do not need to track each other’s state. Also, when a client sends a request to the server, it will contain everything to make the server able to respond. This data can be part of the URL, headers, or query-string.

REST uses standard HTTP requests such as GET, POST, PUT, DELETE, HEAD, and more.

It’s popular for its extensibility, reliability, ease of use, and faster performance.

Author
SPEC INDIA

SPEC INDIA is your trusted partner for AI-driven software solutions, with proven expertise in digital transformation and innovative technology services. We deliver secure, reliable, and high-quality IT solutions to clients worldwide. As an ISO/IEC 27001:2022 certified company, we follow the highest standards for data security and quality. Our team applies proven project management methods, flexible engagement models, and modern infrastructure to deliver outstanding results. With skilled professionals and years of experience, we turn ideas into impactful solutions that drive business growth.

Delivering Digital Outcomes To Accelerate Growth
Let’s Talk

Let’s get in touch!