Promptles
Backend & APIs

REST

beginner

Definition

A common style for designing the conversation between an app and a server. It treats every piece of information, a user, a post, an order, as a thing with its own web address, and uses simple verbs (get, create, update, delete) to act on it.

In the wild

A blog's server has a clean address for each article. The browser visits the article's address to read it, sends a 'create' request to the same kind of address to publish a new one, and sends a 'delete' request to remove an old one. Every action follows the same predictable pattern.

More from Backend & APIs