api
6 free lessons tagged api across AI, Programming, Computer Science. Each one is a short sequence of focused steps with narration and a five-question quiz at the end — take them in any order, no signup required.
Gateway, Tools, and the M by N Problem
An agent is only as useful as the things it can do, and connecting many agents to many tools is a multiplication problem that gets expensive fast. This lesson covers what AgentCore Gateway converts into tools and how, the semantic search that stops tool overload, the two directions of authentication, and the managed sandboxes for code and browsing.
Building REST APIs with Express
Build a small REST API on Node 22 with Express: routes, middleware, JSON body parsing, Zod input validation, status codes, and a clean async error pipeline you won't outgrow.
Rate Limiting
How to keep one client from breaking the system for everyone else. The four canonical algorithms (fixed window, sliding window, token bucket, leaky bucket), distributed limiting with Redis, and the polite way to tell a client "slow down".
OAuth 2.0: Deep Dive into Authorization Flows
Explore the core concepts of OAuth 2.0, its various grant types, and how it enables secure, delegated access without sharing credentials. Understand the roles and the step-by-step authorization process.
Crafting Robust APIs: Essential REST Design Principles
Learn the foundational principles behind RESTful API design. This lesson covers statelessness, client-server architecture, uniform interface, effective use of HTTP methods and status codes, and practical tips for building scalable and maintainable web services.
HTTP Status Codes: Understanding Each Class and When to Use Them
HTTP status codes are essential for effective communication between clients and servers on the web. This lesson breaks down each class of status codes (1xx, 2xx, 3xx, 4xx, 5xx), explains their meaning, and provides practical guidance on when to use them in your applications.

