REST

What is it?

REST (Representational State Transfer) is an architectural style for designing APIs. RESTful APIs use HTTP methods (GET, POST, PUT, DELETE) to perform CRUD operations on resources. They are stateless, which means each request contains all information needed to process it.

Practical example

A RESTful API for users: GET /api/users (list), GET /api/users/1 (specific user), POST /api/users (create), PUT /api/users/1 (update), DELETE /api/users/1 (delete).

Test your knowledge

Which HTTP method is typically used to create data in a REST API?

Ask Lex
Lex knows the context of this term and can give targeted explanations, examples, and extra context.
Tip: Lex replies briefly in the widget. For more detail, go to full screen mode.

Related terms

Quick links