Skip to content

Changed method from post to put in Update task example#173

Merged
kevinburke merged 1 commit intoflask-restful:masterfrom
nixdata:master
Dec 24, 2013
Merged

Changed method from post to put in Update task example#173
kevinburke merged 1 commit intoflask-restful:masterfrom
nixdata:master

Conversation

@nixdata
Copy link
Contributor

@nixdata nixdata commented Dec 24, 2013

This is a documentation correction where a POST is used in place of a PUT in the quickstarts section.

curl http://localhost:5000/todos/todo5 -d "task=something different" -X POST -v
...
{
"message": "Method Not Allowed",
"status": 405
}

@kevinburke
Copy link
Contributor

nice catch!

kevinburke pushed a commit that referenced this pull request Dec 24, 2013
Changed method from post to put in Update task example
@kevinburke kevinburke merged commit e992e63 into flask-restful:master Dec 24, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants