source venv/bin/activate
# terminal one
python main.py
# terminal two
flask run
# terminal three: Start client
curl -X POST http://localhost:5000/[email protected]
curl -X POST http://localhost:5000/[email protected]
curl -X POST -H "Content-Type: application/json" -d '{"id": 1}' http://localhost:5000/[email protected]/add_to_cart
curl -X DELETE -H "Content-Type: application/json" -d '{"id": 1}' http://localhost:5000/[email protected]/remove_from_cart
curl -X GET http://localhost:5000/[email protected]/cart
curl -X POST http://localhost:5000/[email protected]/checkout
curl -X POST http://localhost:5000/[email protected]
curl -X POST -H "Content-Type: application/json" -d '{"id": 0}' http://localhost:5000/[email protected]/add_to_cart
curl -X POST -H "Content-Type: application/json" -d '{"id": 1}' http://localhost:5000/[email protected]/add_to_cart
curl -X GET http://localhost:5000/[email protected]/cart
curl -X DELETE -H "Content-Type: application/json" -d '{"id": 1}' http://localhost:5000/[email protected]/remove_from_cart
curl -X GET http://localhost:5000/[email protected]/cart
curl -X POST http://localhost:5000/[email protected]/checkout
temporal workflow terminate --workflow-id [email protected]
temporal schedule delete --schedule-id [email protected]