Practice & Assessment
Test your understanding of HTTP and REST Fundamentals: Request, Response, and Design
Multiple Choice Questions
6Which URL design follows REST best practices for retrieving a specific user's orders?
What is the false 200 anti-pattern in REST API design?
Which date format is recommended for REST API responses?
What is a chatty API and why is it a problem?
Which statement about HATEOAS is correct?
What naming case is recommended for REST API error codes?
Mini Project
Product Catalog REST API Design and Mock
Design a complete REST API for an e-commerce product catalog with Products, Categories, and Reviews. Create an OpenAPI 3.0 specification in YAML documenting: all CRUD endpoints, nested endpoints, query parameters for filtering and pagination using cursor-based pagination, request and response schemas, all status codes and error responses, and authentication requirements. Use Swagger Editor to visualize and validate your specification.
