REST APIs
REST stands for REpresentational State Transfer, and API means Application Programming Interface
REpresentational State Transfer, or REST, is a set of constraints that ensure a scalable, fault-tolerant and easily extendible system
An Overview
It fits in microservice architecture for connecting them together
Every microservice has an endpoint, which can be accessed by other services
Generally response is shared in json format (most commonly used, XML is another format)
It uses HTTP as the standard protocal for sharing resource between client and server
"Microservices - also known as the microservice architecture - is an architectural style that structures an application as a collection of services that are. Highly maintainable and testable. Loosely coupled. Independently deployable. Organized around business capabilities."
Properties
Uniform Interface: service is resource based (different endpoint for each resource), self descriptive, and manipulation of data is allowed through representation
Stateless: no need to explicitly store state, everything should be handled through links or input variables
Cachable: web-driver stores it
Client server: client code and back-end server could be separate
Request Types and Their Actions
Error code
Basics of HTTP and HTTPS Protocol
Elements of HTTP Get Request
References for Further Understanding
Last updated
Was this helpful?