Chapter 1

Introduction

Quickly learn the basics of what REST is and the core concepts behind it.

Here’s a Quick Tip!

Be on the lookout for Quick Tips in boxes like this throughout the course. They’ll provide a jump-start to your super-powers (or at least give you a leg up on getting your job done)!

Continue to What is REST?

REST API Basics Outline

  1. What is REST
  2. The Six Constraints
    • Uniform Interface
    • Stateless
    • Cacheable
    • Client-Server
    • Layered System
    • Code on Demand
  3. REST Quick Tips
    • Use HTTP Methods
    • Sensible Resource Names
    • Use HTTP Response Codes
    • Support JSON
    • Fine-Grained APIs
    • Links and Connectedness
  4. HTTP Methods
    • POST, GET, PUT, PATCH, DELETE
  5. Resource Naming
    • Collection Metaphor
  6. Idempotence
  7. Safety