Practicing some python
env FLASK_APP=server.py flask run
export FLASK_ENV=development
curl -X GET http://localhost:5000/users
curl -d '{"name":"jhon", "age":"45"}' -H "Content-Type: application/json" -X POST http://localhost:5000/users
curl -d '{"name":"jhon", "age":"46"}' -H "Content-Type: application/json" -X PUT http://localhost:5000/users/1
curl -H "Content-Type: application/json" -X DELETE http://localhost:5000/users/1
curl -X GET http://localhost:5000/products
curl -d '{"name":"lollipop", "price":"2.7"}' -H "Content-Type: application/json" -X POST http://localhost:5000/products
curl -d '{"name":"lollipop", "price":"2.9"}' -H "Content-Type: application/json" -X PUT http://localhost:5000/products/1
curl -H "Content-Type: application/json" -X DELETE http://localhost:5000/products/1
curl -X GET http://localhost:5000/orders
curl -d '{"userId":"1", "productId":"1"}' -H "Content-Type: application/json" -X POST http://localhost:5000/orders