--- title: 'How does REST API work?' description: 'Explore REST API principles, methods, constraints, and best practices.' image: 'https://assets.bytebytego.com/diagrams/0317-rest-api-authentication-methods.png' createdAt: '2024-02-10' draft: false categories: - api-web-development tags: - rest-api - web-development --- ![](https://assets.bytebytego.com/diagrams/0317-rest-api-authentication-methods.png) What are its principles, methods, constraints, and best practices? I hope the diagram above gives you a quick overview. ![](https://assets.bytebytego.com/diagrams/0317-rest-api-authentication-methods.png)