Skip to content
SEE Exam Prep

Question 6 of 6 · PYQ 2025 · 2 marks

Open in ChatGPT

Define REST and mention its primary advantages in web services.


REST (Representational State Transfer) is an architectural style for web services.

  • Resources: every resource has a URI, such as /students/152.
  • Methods: GET, POST, PUT and DELETE express the operation.
  • Stateless: each request carries all the context it needs.
  • Representations: the response is a representation, usually JSON.
  • Advantages: simple and uniform, cacheable, and any server can answer any request, so it scales horizontally.