Padding Tutorials
APIs
Design, secure, document and integrate REST, GraphQL and webhook APIs.
Filter
6 tutorials
All in this category
How to Receive and Verify Webhooks Safely in Node.js
You will build an Express 5.3 webhook receiver on Node.js 26 that checks an HMAC-SHA256 signature over the raw request body, compares it in constant time, rejects stale timestamps and duplicate events, and a small sender that proves each rejection works.
Intermediate · 22 min · APIs
How to Test and Debug an API with curl
You will write a small practice API, then call it with curl 8 to read responses and headers, send JSON, send an authorization header without putting the secret on the command line, follow redirects, measure timing, set timeouts and retries, and read curl's verbose output when a request goes wrong.
Beginner · 20 min · APIs
How to Rate Limit an API with Nginx
You will put request limits in front of a small API with Nginx 1.30 on Ubuntu 26.04, give the login route a stricter limit than the rest, return a proper 429 response with Retry-After, exempt a trusted address, and watch every limit work with real requests.
Intermediate · 20 min · APIs
How to Build a REST API with FastAPI
You will build a small items API with FastAPI 0.163 on Python 3.15 that validates its input, returns the right HTTP status codes, never shows a stack trace to callers, documents itself, and has automated tests.
Beginner · 22 min · APIs
How to Build a REST API with Express 5
You will build a small items API with Express 5.3 on Node.js 26 that validates its input, returns the right HTTP status codes, never sends a stack trace to callers, and has automated tests that use only Node's built-in test runner.
Beginner · 22 min · APIs
How to Add JWT Authentication to a FastAPI API
You will add login to a FastAPI 0.163 API on Python 3.15 with Argon2 password hashes, PyJWT access tokens that expire after 15 minutes, a signing secret kept out of your code, a protected route, and tests that prove expired, tampered and unsigned tokens are refused.
Intermediate · 25 min · APIs