Home » NodeJS » Backend Concepts

Backend Concepts

Client & Server Model

A client requests something to the server. After doing the computation, the server will send the response.

Request Types

HTTP stands for Hypertext Transfer Protocol

create the new data on the server (submit)

read the data on the server (fetch)

update the old data on the server (after editing, update)

delete the data present on the server (deleting the whole data)

Idempotent

Idempotent means it can be retried or executed multiple times without causing unintended side effects.

GET, PUT, & DELETE are idempotent.

Idempotent HTTP Requests vs Unsafe HTTP Requests