API Design: Auth to Zod

Everything you need to know about API design.

Structuring URLs

Structuring URLs

How to structure your URLs to make your API readable and maintainable.

Structuring URLs

HTTP Methods

How to use HTTP methods to make your API predictable and consistent.

Structuring URLs

Request parameters

How to send request parameters to your API.

Structuring URLs

Data Formats

How to send request parameters to your API.

Structuring URLs

Request Body

How to send request data to your API.

Structuring URLs

Status Codes

How to return HTTP status codes from your API.

Structuring URLs

Response Body

How to return response data from your API.

Structuring URLs

Pagination

How to paginate API responses.

Structuring URLs

Filtering responses

How to filter API responses.

Caching Responses

Caching

How to cache API responses.

Returning Errors

Returning Errors

How to return informative API Errors.

Security

Security

How to design an API for improved security.