- $ pip freeze > requirements.txt
- $ echo "web: gunicorn server:api" > Procfile
- $ git add . && git commit -m "Procfile adn requirements.txt updated"
- $ heroku create
- $ git push heroku master
- Get: curl http://xxxxxx/myself
- Post: curl curl -H 'Content-Type:application/json' -d "{"name":"koma","age":"27"}" http://xxxxxx/myself