Free tools

HTTP 308 Permanent Redirect

The resource moved permanently, and the method must stay the same. Free reference, no signup.

308 Permanent Redirect

MeaningThe resource moved permanently, and the method must stay the same.
WhenA permanent move that must not change POST to GET.
CausesAPI host migrations.
FixUpdate the stored URL to Location.
RetryFollow it, then stop using the old URL.
Alert?No. The redirect is the instruction, not an outage.

Runs in your browser. Nothing you enter is stored.

Most 308s are not an incident

The redirect is the instruction, not an outage.

curl -sS -X POST https://api.trigv.com/v1/events \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer $TRIGV_API_KEY" \
  -d '{"channel":"ops","title":"HTTP 308","level":"warning"}'

How to use it

  1. Read what 308 means before changing a retry loop.
  2. Check the common causes against the response body and the server log.
  3. Follow the retry note. Retrying a 400 with the same body will fail again.
  4. Alert only in the cases the verdict describes.

About this tool

HTTP 308 Permanent Redirect means The resource moved permanently, and the method must stay the same. Servers send it when A permanent move that must not change POST to GET.

Common causes: API host migrations. The practical fix is: Update the stored URL to Location.

Retry: Follow it, then stop using the old URL.

Alert on it? No. The redirect is the instruction, not an outage.

Trigv is a push for the moment a status starts mattering, not a log of every response. If the code is one you should hear about, the snippet posts a single event with level error or warning. The status page itself does not call your API.

Questions

What is HTTP 308?

The resource moved permanently, and the method must stay the same.

Should the client retry?

Follow it, then stop using the old URL.

Should I alert on it?

No. The redirect is the instruction, not an outage.

How is this different from reading the spec?

The page adds a plain retry note and an alert verdict for people running the service, not only for people parsing the response.