Free tools

HTTP 405 Method Not Allowed

This URL does not allow that HTTP method. Free reference, no signup.

405 Method Not Allowed

MeaningThis URL does not allow that HTTP method.
WhenA client sends GET to a POST-only route, or the reverse.
CausesA wrong method or a route that only accepts some verbs.
FixUse the method in the Allow header.
RetryDo not retry with the same method.
Alert?Usually no. It is a client bug unless a deploy suddenly rejects a method you use.

Runs in your browser. Nothing you enter is stored.

Most 405s are not an incident

It is a client bug unless a deploy suddenly rejects a method you use.

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 405","level":"warning"}'

How to use it

  1. Read what 405 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 405 Method Not Allowed means This URL does not allow that HTTP method. Servers send it when A client sends GET to a POST-only route, or the reverse.

Common causes: A wrong method or a route that only accepts some verbs. The practical fix is: Use the method in the Allow header.

Retry: Do not retry with the same method.

Alert on it? Usually no. It is a client bug unless a deploy suddenly rejects a method you use.

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 405?

This URL does not allow that HTTP method.

Should the client retry?

Do not retry with the same method.

Should I alert on it?

Usually no. It is a client bug unless a deploy suddenly rejects a method you use.

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.