Skip to content

RESTful API

REST: Representational State Transfer

Principles

  • Stateless
  • Client-Server separation
  • Cacheable
  • Layered System (client doesn't need to know if it is communicating with the final server or an intermediary, like a proxy)
  • Uniform Interface
    • Standard methods
    • Resource-based URLs
  • Respect all HTTP methods
  • Code on demand (optional)