Skip to content

response 405 Method Not Alllowed #9

@benluo

Description

@benluo

local running the program. and local run curl as example.

curl -i -X DELETE http://127.0.0.1:8080/cities/562
HTTP/1.1 405 Method Not Allowed
Content-Type: application/json
X-Powered-By: go-json-rest
Date: Sun, 15 Mar 2015 15:25:32 GMT
Content-Length: 35

{
"Error": "Method not allowed"
}

GET and POST works well, but PUT does not work same as PUT.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions