DEV Community

Cover image for REST FUL API
Satya Priya
Satya Priya

Posted on • Edited on

REST FUL API

(Client to (Server to Database))(req) ----> (Server to Client (res))

A RESTful API allows clients to utilize HTTP methods (GET, POST, PUT, PATCH, DELETE) to interact with the server, fetching data from databases such as MongoDB or SQL.

Once the server retrieves data from the database, it delivers responses to clients, including browsers and mobile applications, in either HTML or JSON format upon receiving their requests.

while doing this server must connected to the database .

Top comments (0)