Skip to content

REST

REST is a software architecture approach that defines a set of rules to exchange data between software components.

It’s based on HTTP, the standard communication protocol of the web. RESTful APIs manage communications between a client and a server through HTTP verbs, like POST, GET, PUT, and DELETE for create, read, update, and delete operations.

What’s the Difference Between RPC and REST?

RPC and REST are two ways you can design an API. An API is a mechanism that enables two software components to communicate with each other using a set of definitions and protocols.

In RPC, one component (the client) calls or invokes specific functions in another software component (the server).

In REST, instead of calling functions, the client requests or updates data on the server.