REST API Suh

From Coder Merlin
Revision as of 10:52, 20 August 2021 by Rodrigo-suarez (talk | contribs)
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