Padding Tutorials
APIs
Design, secure, document and integrate REST, GraphQL and webhook APIs.
Filter
3 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 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 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