What is REST API 🤯 REST is an architectural style that defines rules for how systems communicate…
What is REST API 🤯
REST is an architectural style that defines rules for how systems communicate over HTTP using predictable URLs and standard verbs like GET, POST, PUT, and DELETE.
• REST does not require JSON, JSON is just the most common format today. I had to clarify that 🫡
• GET /users usually means list users GET /users/{id} gets one user 👾
• REST is stateless, meaning the server doesn’t store client session state between requests 👨🏽💻
• REST focuses on resources (nouns) and HTTP verbs, not action-based URLs👾
Comments
Comments from the original post on Instagram
No comments yet
