1) Register “alice”
curl.exe -X POST -H "Content-Type: application/json" -d '{ "username": "alice", "password": "alicepwd" }' http://127.0.0.1:5000/auth/register
2) Log in as “alice” (save her cookie jar)
curl.exe -X POST -c alice_cookies.txt -H "Content-Type: application/json" -d '{ "username": "alice", "password": "alicepwd" }' http://127.0.0.1:5000/auth/login
1) Register “alice”
curl.exe -X POST -H "Content-Type: application/json" -d '{ "username": "alice", "password": "alicepwd" }' http://127.0.0.1:5000/auth/register
2) Log in as “alice” (save her cookie jar)
curl.exe -X POST -c alice_cookies.txt -H "Content-Type: application/json" -d '{ "username": "alice", "password": "alicepwd" }' http://127.0.0.1:5000/auth/login