EMZETT.
Login

HTTP 405 Method Not Allowed

In short: The HTTP method used (for example POST) is not allowed for this address.

In more detail: The server knows the resource but accepts only other methods (such as GET).

In Depth

Possible causes

  • Form sends POST to a GET-only route.
  • API endpoint called wrongly.

Solutions

  1. Check the interface documentation (REST).
  2. Adjust the method in the client or allow the route on the server.
  3. Read the Allow header in the response.

See also: HTTP, REST