405 / Method Not Allowed

“请求行中指定的请求方法不能被用于请求相应的资源。该响应必须返回一个Allow头信息用以表示出当前资源能够接受的请求方法的列表。“ — wikipedia

“The method specified in the Request-Line is not allowed for the resource identified by the Request-URI. The response MUST include an Allow header containing a list of valid methods for the requested resource.“ — ietf

405 / code reference(s)
Rails HTTP Status Symbol
:method_not_allowed
← return