# method_not_allowed

Method not allowed. HTTP 405.

## What it means

Use GET or HEAD for this API.

## What to do

The API is read-only. The Allow header lists the methods it accepts.

## Headers

A 405 response also sends `Allow`.

## Example response

```json
{
  "type": "https://docs.kapiworks.com/errors/method_not_allowed",
  "title": "Method not allowed",
  "status": 405,
  "detail": "Use GET or HEAD for this API.",
  "code": "method_not_allowed"
}
```

Errors use `application/problem+json` (RFC 9457). Act on `code` or `type`; `detail` is for people and can change.