API Design

How Draftbase's Content API Works
A delivery API call hits auth, rate limits, a Mongo query, and a cache header. Here's the real request path, end to end.

What Is a REST API Endpoint?
What is a REST API endpoint? See the URL and method model, real design patterns, and why safe retries matter most.

What Is GraphQL Used For? Playground and Python Examples
GraphQL is a query language for APIs. See where it's used in production, what replaced Playground, and a working Python client example.

GraphQL Queries and Requests Explained
GraphQL queries and requests, explained. See how the language and the HTTP layer differ, plus when to use graphql-request or fetch.

GraphQL API Endpoint: A Single Endpoint over HTTP
A GraphQL API endpoint is a single URL that handles every query and mutation. Learn how it differs from REST, why it uses POST, and when each one fits.

Webhooks vs APIs: What's the Difference?
A webhook vs an API: what's the real difference? Webhooks push data the moment an event fires. APIs wait for your app to ask.

REST API Development for Headless CMS
How do you design a REST API for a headless CMS? Name things well, filter with query params, page with cursors, and pick one version scheme.

API Call Example: What Is an API Call and How It Works
What is an API call? It's a request one program sends another over HTTP — see a call api example, plus methods, status codes, and rate limits.