EasyEnv
Engineering/Courses/Catalog/Web/REST API Basics
Web
IntermediateLesson 8 of 1425 min · hands-on

REST API Basics

Part of the Web course

You are asked to add an endpoint to an existing API and you freeze on the first decision: is it POST /users/42/deactivate or PATCH /users/42? Both work. Both will ship. But one of them will read as obvious to the next person and one will start an argument in code review.

Picture a filing cabinet. Every drawer and every folder has an address, and the address never says what you intend to do when you get there. The doing is a separate decision: read it, replace it, throw it away. REST splits an API the same way. The URL is the address of a thing. The HTTP method is the verb. ...

Want to learn Web REST API Basics in a real environment?

Click below, get a fresh Linux box with Web ready to go, and work through REST API Basics hands-on with an AI tutor that knows your code.

Start this lessonREST API Basics

What you'll learn

  • Resources as nouns
  • Methods as verbs
  • Status codes
  • Idempotency
  • HATEOAS
  • Versioning

Read this lesson in your language

All lessons in this course

14 lessons
  1. 1What Is The Web20 min
  2. 2HTTP vs HTTPS15 min
  3. 3Request and Response Anatomy30 min
  4. 4Cookies, Sessions, and Tokens25 min
  5. 5DNS Explained25 min
  6. 6TLS and Certificates30 min
  7. 7CORS30 min
  8. 8REST API Basics25 min
  9. 9WebSockets and SSE25 min
  10. 10Caching and CDNs25 min
  11. 11Security Headers25 min
  12. 12Rate Limiting and Throttling20 min
  13. 13Monitoring and Logging20 min
  14. 14Capstone: A Tiny Web Server40 min

Explore other courses

REST API Basics - Web (English) | Engineering Courses