Script Valley
REST API Development: Complete Course from Beginner to Production
HTTP and REST Fundamentals: Request, Response, and Design/Assessment

Practice & Assessment

Test your understanding of HTTP and REST Fundamentals: Request, Response, and Design

Multiple Choice Questions

6
1

Which URL design follows REST best practices for retrieving a specific user's orders?

2

What is the false 200 anti-pattern in REST API design?

3

Which date format is recommended for REST API responses?

4

What is a chatty API and why is it a problem?

5

Which statement about HATEOAS is correct?

6

What naming case is recommended for REST API error codes?

Mini Project

1

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.

Medium