Logics Guru

HTTP Status Codes and Headers Quick Reference

1 min read 8 views
Technical reference-sheet illustration for HTTP Status Codes and Headers Quick Reference

A practical reference for API response codes, caching, retries, authentication and request tracing.

Quick reference#

Task or conceptCommand or valueOperational note
Successful read200 OKReturn the representation.
Created resource201 CreatedInclude a Location header.
Invalid input400 Bad RequestReturn field-level details.
Unauthenticated401 UnauthorizedSend an authentication challenge when applicable.
Forbidden403 ForbiddenIdentity is known but not allowed.
Missing resource404 Not FoundAvoid leaking private-resource existence.
Conflict409 ConflictState conflicts with the operation.
Rate limited429 Too Many RequestsInclude Retry-After.
Temporary failure503 Service UnavailableRetry only when the operation is safe.

How to use this page#

Find the task first, copy only the relevant value, replace placeholders, and confirm the target environment before running anything.

Safety rules#

  • Prefer read-only inspection before mutation.
  • Use least-privilege credentials.
  • Keep secrets out of commands, logs and screenshots.
  • Test state-changing operations in a safe environment.
  • Capture the original value and rollback path.

Placeholder conventions#

  • NAME, UNIT, PATH and URL must be replaced.
  • Ellipses indicate omitted application-specific content.
  • Quotes are part of a command only when shown inside the code element.

Incident-use checklist#

  1. Record account, host, region or environment.
  2. Record the current time and relevant request identifier.
  3. Run the narrowest read-only command.
  4. Save useful output without sensitive data.
  5. Escalate before destructive or irreversible changes.

Version note#

Commands and APIs can change. Verify behavior against the official source below and the exact runtime version in use.

Mustasim Ali

Mustasim Ali

Senior Software Engineer & Technical Lead

Full-stack engineer working in PHP and Laravel since 2019. I lead a development team building web and mobile products, and spend most of my time in Laravel, Node.js, Vue and React against MySQL and MongoDB. Logics Guru is where I write up the things I had to work out the hard way — the architecture decisions, the debugging sessions, and the small utilities I kept rebuilding until I put them somewhere permanent. Everything here is what I actually use.