Method not allowed
https://resolvefrom.com/docs/errors/method_not_allowed
When this happens
Returned when an endpoint receives an unsupported HTTP verb. Lookup, reverse, identity, and transfer accept GET, HEAD, and QUERY.
How to handle it
Check the Allow response header and resend the request using one of the supported methods.
Response headers
| Header | Example |
|---|---|
Allow |
GET, HEAD, QUERY, OPTIONS |
Example response
HTTP/1.1 405
Content-Type: application/problem+json
X-Request-Id: 0195a8c0-7b1e-7000-8000-000000000001
Allow: GET, HEAD, QUERY, OPTIONS
{
"type": "https://resolvefrom.com/docs/errors/method_not_allowed",
"title": "Method not allowed",
"status": 405,
"detail": "Method POST is not allowed for /v1/lookup.",
"code": "method_not_allowed",
"request_id": "0195a8c0-7b1e-7000-8000-000000000001",
"from": {
"provider": "fly.io",
"region": "iad"
}
}