Skip to content
Latchkey

What Is HTTP 302 Found?

HTTP 302 Found explained, and what it means when you see it in CI/CD and deployments.

HTTP 302 indicates the resource is temporarily at a different URL.

What it means

Unlike 301, a 302 is temporary, so clients should keep using the original URL for future requests. It is often used for login flows and temporary maintenance pages.

When you see it in CI/CD

CI requests that do not follow redirects (curl without -L) will see the 302 instead of the final page. Use -L to follow, or assert on the redirect for auth-flow tests.

Key takeaways

  • 302 is a temporary redirect.
  • Keep using the original URL.
  • Use curl -L to follow it.

Related guides

Tired of flaky CI? Latchkey auto-heals failed jobs and retries them for you. Start free →