⚡AgentSkills
🧰 Engineering Essentials · Diagnostic Foundations

Debug HTTP APIs methodically

Request-level forensics: headers, status semantics, timing, and auth layers isolated step by step.

foundation~25 minAll Software Engineers

Steps

  1. 1Reproduce with curl/httpie outside your app — isolate client vs server
  2. 2Read status codes literally: 4xx yours, 5xx theirs, 3xx follow redirects explicitly
  3. 3Diff working vs failing requests header-by-header; auth and content-type first
  4. 4Trace DNS→TLS→TTFB timings to locate network-layer stalls
  5. 5Check response bodies for error envelopes even inside 200s
  6. 6Capture evidence (verbose output) before changing anything

Common Pitfalls

  • ▲Postman-vs-curl discrepancies from auto-set headers
  • ▲Proxies/VPNs silently rewriting requests mid-flight

Commands

Install with skills CLI
$ npx skills add aniruddhaadak80/skills --skill diagnostic-foundations-http-api-debugging
Install globally
$ npx skills add aniruddhaadak80/skills --skill diagnostic-foundations-http-api-debugging -g

Tags

#http#debugging#api#engineering-essentials#diagnostic-foundations

Related skills

Structured first-response: load vs lock vs query-plan diagnosis under pressure.

🧰 Engineering Essentials·~30m

Entry-point tracing, test-first reading, and boundary mapping building accurate mental models fast.

🧰 Engineering Essentials·~25m