Tag

#api

2 prompts
Design a REST API

Endpoint-by-endpoint design including the error responses most API specs forget.

Integration Tests for an API Route

Cover the success path, validation, auth failures, 404s, and side effects of one endpoint.