>_FoxiRef
4xx Client error responses

405Method Not Allowed

Method not allowed

#When does this occur?

Returned when the HTTP method is not supported for the resource. (e.g., POST request to an endpoint that only allows GET)

#How to handle?

Use the correct HTTP method. Check the Allow response header for permitted methods.

#Example

HTTP Response
HTTP/1.1 405 Method Not Allowed
Content-Type: application/json
Date: Tue, 10 Feb 2026 07:16:38 GMT

{
  "status": 405,
  "message": "Method Not Allowed"
}

#Related Status Codes

이 포스팅은 쿠팡 파트너스 활동의 일환으로, 이에 따른 일정액의 수수료를 제공받습니다.

HTTP 405 Method Not Allowed | Foxi Dev Reference