RapidAPI Comic on REST API

Rapid
RapidAPI Comic on REST API
RapidAPI Comic on REST API

What is a RESTful API.

Rapid
RapidAPI Comic on REST API
RapidAPI Comic on REST API

REST architecture follows a few constraint:

  • Client-server architecture
  • Uniform interface
  • Stateless
  • Layered system
  • Cacheable
Rapid
RapidAPI Comic on REST API
RapidAPI Comic on REST API

Client-server constraint separates client and server. The client makes the requests whereas the server responds back.

Rapid
RapidAPI Comic on REST API
RapidAPI Comic on REST API

Uniform interface across client and server. All responses should follow the same format.

Rapid
RapidAPI Comic on REST API
RapidAPI Comic on REST API

Servers aren’t allowed to store any data related to the client. No session or authentication state is stored on the server.

If the client requires authentication, then the client needs to authenticate itself before sending a request to the server.

Rapid
RapidAPI Comic on REST API
RapidAPI Comic on REST API

Servers aren’t allowed to store any data related to the client. No session or authentication state is stored on the server.

If the client requires authentication, then the client needs to authenticate itself before sending a request to the server.

Rapid
RapidAPI Comic on REST API
RapidAPI Comic on REST API

Responses can be explicitly or implicitly defined as cacheable or non-cacheable to improve scalability and performance.

The main idea of caching is to improve the performance of the client by reducing the bandwidth required to load the resource.