Representation
- Resources are represented in a specific standard data format like JSON(Javascript Object Notation) and that is sent in response to the client.This is the representation part of the representational state transfer.
Example for JSON output:
{
"id": 1,
"name": "Example Resource",
"description": "This is a sample resource"
}
What makes an API RESTful?
An API (Application Programming Interface) acts as a messenger between different software applications. It defines a set of rules, protocols, and specifications for how applications request data, exchange information, and receive responses.
Table of Content
- Introduction to REST API
- HTTP Methods
- Representation
- Clinet-Server
- Stateless Communication
- Resource-Based
- Self-Descriptive Messages
- Hypermedia (HATEOAS – Hypermedia as the Engine of Application State)
- Best Practices for Designing Robust and User-Friendly RESTful APIs
Contact Us