Tag

#REST API

Every article tagged REST API, in one place.

  • 8 articles
  • 8 min of reading
  • 04 Oct, 2026 last updated

Showing 8 articles

FastAPINew 1 min read

FastAPI Tutorial: Build a REST API in Python

FastAPI is a Python web framework built on type hints. You describe your inputs and outputs with types, and FastAPI validates requests, serialises responses and generates interactive API docs for you. Install and run pip install "fastapi[standard]" fastapi dev...

04 Oct, 2026 Author 1.17K 110
Read article
REST & GraphQL APIs 1 min read

API Pagination: Offset vs Cursor-Based

Any list endpoint needs pagination. The two main approaches behave very differently on large or fast-changing data. Offset pagination GET /articles?page=3&per_page=20 SELECT * FROM articles ORDER BY published_at DESC LIMIT 20 OFFSET 40; Pros: simple, lets user...

16 Sep, 2026 Author 1.16K 88
Read article
Go 1 min read

Build a REST API with Go's Standard Library

Go developers used to reach for a router package as soon as they needed path parameters. Since Go 1.22, the standard http.ServeMux supports HTTP methods and wildcards, which covers most APIs. The server package main import ( "encoding/json" "log" "net/http" "s...

09 Aug, 2026 Author 577 131
Read article
REST & GraphQL APIs 1 min read

GraphQL vs REST: How to Choose

GraphQL and REST both work well. The right choice depends on your clients, your data and your team, not on which one is newer. The core difference With REST, the server decides the shape of each endpoint's response. With GraphQL, the client asks for exactly th...

05 Jul, 2026 Author 1.41K 39
Read article
Rust 1 min read

Build a REST API in Rust with Axum

Axum is a popular Rust web framework from the Tokio team. Handlers are plain async functions, and "extractors" in their parameters pull data out of the request in a type-safe way. Dependencies [dependencies] axum = "0.8" tokio = { version = "1", features = ["f...

17 Jun, 2026 Author 975 121
Read article