Difference between revisions of "REST API Suh"

From Coder Merlin
Line 1: Line 1:
REST is not a protocol or standard, it is a set of requirements which must be followed in order to be compliant. There are six requirements for an API to be compliant.
REST API
*Standardized API requests: any and all API requests should follow a specific format
 
*Independent Applications: the applications run by the client and by the server should be completely independent of each other
REST API is a type of API that follows RESTful programming structure/definitions. This type of API is one of the most commonly used protocols to manage interactions between the client and the server.  
*Requests need all possible information which would be relevant to carrying it out
 
*System cant know which step in transferring information it is in
Representational State Transfer (REST) Constraints/Protocols
 
Since REST is a type of structure that APIs can follow, there are various rules and instructions for an API to adhere to.  
 
Client-server architecture with HTTP formatting
Statelessness or stateless client-server communication
Cacheable data that is accessible by both the client and server
Uniform interface
Layered system with hierarchical structure and parts
On demand code
 
API
 
An API, or Application Programming Interface, is a user interface that displays and transfers data to and from the client and the server.
 
Resources
 
Additionally, REST APIs contain information as resources, which are named collections or pieces of information. The resources in a REST API c

Revision as of 10:52, 20 August 2021

Within these castle walls be forged Mavens of Computer Science ...
— Merlin, The Coder

REST API

REST API is a type of API that follows RESTful programming structure/definitions. This type of API is one of the most commonly used protocols to manage interactions between the client and the server.

Representational State Transfer (REST) Constraints/Protocols

Since REST is a type of structure that APIs can follow, there are various rules and instructions for an API to adhere to.

Client-server architecture with HTTP formatting Statelessness or stateless client-server communication Cacheable data that is accessible by both the client and server Uniform interface Layered system with hierarchical structure and parts On demand code

API

An API, or Application Programming Interface, is a user interface that displays and transfers data to and from the client and the server.

Resources

Additionally, REST APIs contain information as resources, which are named collections or pieces of information. The resources in a REST API c