#!/bin/sh # Recorded curl commands; rerun verify.py to start fresh fixture servers. # These ephemeral ports refer to the recorded run and are no longer listening. # Server: python3 fixture.py --ids sequential --authz none --port 52911 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-alice-token' http://127.0.0.1:52911/invoices curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-bob-token' http://127.0.0.1:52911/invoices curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-alice-token' http://127.0.0.1:52911/invoices/1001 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-bob-token' http://127.0.0.1:52911/invoices/1003 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET http://127.0.0.1:52911/invoices/1001 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-bob-token' http://127.0.0.1:52911/invoices/1001 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-bob-token' http://127.0.0.1:52911/invoices/1002 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-bob-token' http://127.0.0.1:52911/invoices/1004 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-bob-token' http://127.0.0.1:52911/invoices/1001 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request PUT --header 'Authorization: Bearer demo-bob-token' --header 'Content-Type: application/json' --data '{"amount_cents": 1, "status": "paid"}' http://127.0.0.1:52911/invoices/1001 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-alice-token' http://127.0.0.1:52911/invoices/1001 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request DELETE --header 'Authorization: Bearer demo-bob-token' http://127.0.0.1:52911/invoices/1002 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-alice-token' http://127.0.0.1:52911/invoices/1002 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request PUT --header 'Authorization: Bearer demo-alice-token' --header 'Content-Type: application/json' --data '{"amount_cents": 12500, "status": "paid"}' http://127.0.0.1:52911/invoices/1001 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request DELETE --header 'Authorization: Bearer demo-bob-token' http://127.0.0.1:52911/invoices/1003 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-bob-token' http://127.0.0.1:52911/invoices/1003 # Server: python3 fixture.py --ids uuid --authz none --port 52929 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-alice-token' http://127.0.0.1:52929/invoices curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-bob-token' http://127.0.0.1:52929/invoices curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-alice-token' http://127.0.0.1:52929/invoices/be29ac11-01ad-48dc-b414-481312e18f87 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-bob-token' http://127.0.0.1:52929/invoices/352711e1-9dae-450d-abe7-f2cc9b668f10 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET http://127.0.0.1:52929/invoices/be29ac11-01ad-48dc-b414-481312e18f87 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-bob-token' http://127.0.0.1:52929/invoices/1001 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-bob-token' http://127.0.0.1:52929/invoices/1002 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-bob-token' http://127.0.0.1:52929/invoices/1004 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-bob-token' http://127.0.0.1:52929/invoices/be29ac11-01ad-48dc-b414-481312e18f87 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request PUT --header 'Authorization: Bearer demo-bob-token' --header 'Content-Type: application/json' --data '{"amount_cents": 1, "status": "paid"}' http://127.0.0.1:52929/invoices/be29ac11-01ad-48dc-b414-481312e18f87 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-alice-token' http://127.0.0.1:52929/invoices/be29ac11-01ad-48dc-b414-481312e18f87 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request DELETE --header 'Authorization: Bearer demo-bob-token' http://127.0.0.1:52929/invoices/cfcab13e-0ef7-40e4-96ab-60d679e4bb31 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-alice-token' http://127.0.0.1:52929/invoices/cfcab13e-0ef7-40e4-96ab-60d679e4bb31 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request PUT --header 'Authorization: Bearer demo-alice-token' --header 'Content-Type: application/json' --data '{"amount_cents": 12500, "status": "paid"}' http://127.0.0.1:52929/invoices/be29ac11-01ad-48dc-b414-481312e18f87 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request DELETE --header 'Authorization: Bearer demo-bob-token' http://127.0.0.1:52929/invoices/352711e1-9dae-450d-abe7-f2cc9b668f10 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-bob-token' http://127.0.0.1:52929/invoices/352711e1-9dae-450d-abe7-f2cc9b668f10 # Server: python3 fixture.py --ids sequential --authz owner --port 52948 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-alice-token' http://127.0.0.1:52948/invoices curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-bob-token' http://127.0.0.1:52948/invoices curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-alice-token' http://127.0.0.1:52948/invoices/1001 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-bob-token' http://127.0.0.1:52948/invoices/1003 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET http://127.0.0.1:52948/invoices/1001 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-bob-token' http://127.0.0.1:52948/invoices/1001 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-bob-token' http://127.0.0.1:52948/invoices/1002 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-bob-token' http://127.0.0.1:52948/invoices/1004 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-bob-token' http://127.0.0.1:52948/invoices/1001 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request PUT --header 'Authorization: Bearer demo-bob-token' --header 'Content-Type: application/json' --data '{"amount_cents": 1, "status": "paid"}' http://127.0.0.1:52948/invoices/1001 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-alice-token' http://127.0.0.1:52948/invoices/1001 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request DELETE --header 'Authorization: Bearer demo-bob-token' http://127.0.0.1:52948/invoices/1002 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-alice-token' http://127.0.0.1:52948/invoices/1002 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request PUT --header 'Authorization: Bearer demo-alice-token' --header 'Content-Type: application/json' --data '{"amount_cents": 12500, "status": "paid"}' http://127.0.0.1:52948/invoices/1001 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request DELETE --header 'Authorization: Bearer demo-bob-token' http://127.0.0.1:52948/invoices/1003 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-bob-token' http://127.0.0.1:52948/invoices/1003 # Server: python3 fixture.py --ids uuid --authz owner --port 52965 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-alice-token' http://127.0.0.1:52965/invoices curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-bob-token' http://127.0.0.1:52965/invoices curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-alice-token' http://127.0.0.1:52965/invoices/edbb9648-9a48-41b6-bcd9-1987155357f7 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-bob-token' http://127.0.0.1:52965/invoices/c075aea6-bd06-4aaf-8417-903fca815b91 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET http://127.0.0.1:52965/invoices/edbb9648-9a48-41b6-bcd9-1987155357f7 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-bob-token' http://127.0.0.1:52965/invoices/1001 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-bob-token' http://127.0.0.1:52965/invoices/1002 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-bob-token' http://127.0.0.1:52965/invoices/1004 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-bob-token' http://127.0.0.1:52965/invoices/edbb9648-9a48-41b6-bcd9-1987155357f7 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request PUT --header 'Authorization: Bearer demo-bob-token' --header 'Content-Type: application/json' --data '{"amount_cents": 1, "status": "paid"}' http://127.0.0.1:52965/invoices/edbb9648-9a48-41b6-bcd9-1987155357f7 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-alice-token' http://127.0.0.1:52965/invoices/edbb9648-9a48-41b6-bcd9-1987155357f7 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request DELETE --header 'Authorization: Bearer demo-bob-token' http://127.0.0.1:52965/invoices/83626556-22dd-4bb6-80f5-3f6e149ada5e curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-alice-token' http://127.0.0.1:52965/invoices/83626556-22dd-4bb6-80f5-3f6e149ada5e curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request PUT --header 'Authorization: Bearer demo-alice-token' --header 'Content-Type: application/json' --data '{"amount_cents": 12500, "status": "paid"}' http://127.0.0.1:52965/invoices/edbb9648-9a48-41b6-bcd9-1987155357f7 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request DELETE --header 'Authorization: Bearer demo-bob-token' http://127.0.0.1:52965/invoices/c075aea6-bd06-4aaf-8417-903fca815b91 curl --noproxy '*' --silent --show-error --include --http1.1 --connect-timeout 1 --max-time 3 --request GET --header 'Authorization: Bearer demo-bob-token' http://127.0.0.1:52965/invoices/c075aea6-bd06-4aaf-8417-903fca815b91