REST API Best Practices: Python & Flask Tutorial - Polyglot.Ninja()
Flask==0.12.1
Flask-MySQLdb==0.2.0
Flask-RESTful==0.3.5
$ curl -H "Content-Type: application/json" -X POST -d '{"title": "This is title", "content": "This is content"}' http://127.0.0.1:5000/api/v1/articles/
$ curl -X GET http://127.0.0.1:5000/api/v1/articles/
$ curl -X GET http://127.0.0.1:5000/api/v1/articles/1
$ curl -H "Content-Type: application/json" -X PUT -d '{"title": "This is title", "content": "This is content"}' http://127.0.0.1:5000/api/v1/articles/9
$ curl -X DELETE http://127.0.0.1:5000/api/v1/articles/8