What is REST?
REST, or Representational State Transfer, is an architectural style for designing networked applications. RESTful APIs commonly model resources and use HTTP methods such as GET, POST, PUT, PATCH, and DELETE. Good REST API design also considers status codes, resource naming, statelessness, caching, and consistent representations.
Key Takeaways
- REST is an architectural style.
- REST APIs commonly model resources.
- HTTP methods communicate intended operations.
Knowledge Check
Which HTTP method is conventionally used to retrieve a resource?