Skip to content

Instantly share code, notes, and snippets.

@coip
Created June 26, 2018 21:08
Show Gist options
  • Save coip/56dd1b4dd22bacdaa11ad14dc4692040 to your computer and use it in GitHub Desktop.
Save coip/56dd1b4dd22bacdaa11ad14dc4692040 to your computer and use it in GitHub Desktop.
echo "Available Products:"
curl "localhost:8080/api/vendors/getProducts"
sleep 10
curl "localhost:8080/api/customer/addItem" -d '{"basket":"LisaG", "code":"AP1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"LisaG", "code":"ALL"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"LisaG", "code":"CH1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"LisaG", "code":"AP1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"GrantP", "code":"AP1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"LisaG", "code":"AP1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"GrantP", "code":"AP1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"CassandraC", "code":"AP1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"BriannaR", "code":"AP1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"BryanM", "code":"AP1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"KristenL", "code":"AP1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"BryanM", "code":"CH1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"BryanM", "code":"CF1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"BryanM", "code":"OM1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"BriannaR", "code":"OM1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"LisaG", "code":"ALL"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"LisaG", "code":"CH1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"LisaG", "code":"AP1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"GrantP", "code":"AP1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"LisaG", "code":"AP1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"GrantP", "code":"AP1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"CassandraC", "code":"AP1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"BriannaR", "code":"AP1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"BryanM", "code":"AP1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"KristenL", "code":"AP1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"BryanM", "code":"CH1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"BryanM", "code":"CF1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"BryanM", "code":"OM1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"BriannaR", "code":"OM1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"LisaG", "code":"ALL"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"LisaG", "code":"CH1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"LisaG", "code":"AP1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"GrantP", "code":"AP1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"LisaG", "code":"AP1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"GrantP", "code":"AP1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"CassandraC", "code":"AP1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"BriannaR", "code":"AP1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"BryanM", "code":"AP1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"KristenL", "code":"AP1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"BryanM", "code":"CH1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"BryanM", "code":"CF1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"BryanM", "code":"OM1"}'
curl "localhost:8080/api/customer/addItem" -d '{"basket":"BriannaR", "code":"OM1"}'
sleep 10
clear
curl "localhost:8080/api/vendors/getBaskets"
sleep 10
curl "localhost:8080/getCustomer?id=BryanM"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment