-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathOrderData.bash
22 lines (22 loc) · 2.3 KB
/
OrderData.bash
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
curl -X POST localhost:9999/orders -H "Content-Type: application/json" -d '{"item": "laptop4", "quantity": 1}'
curl -X POST localhost:9999/orders -H "Content-Type: application/json" -d '{"item": "laptop1", "quantity": 3}'
curl -X POST localhost:9999/orders -H "Content-Type: application/json" -d '{"item": "laptop2", "quantity": 2}'
curl -X POST localhost:9999/orders -H "Content-Type: application/json" -d '{"item": "laptop3", "quantity": 1}'
curl -X POST localhost:9999/orders -H "Content-Type: application/json" -d '{"item": "laptop4", "quantity": 1}'
curl -X POST localhost:9999/orders -H "Content-Type: application/json" -d '{"item": "laptop5", "quantity": 1}'
curl -X POST localhost:9999/orders -H "Content-Type: application/json" -d '{"item": "laptop6", "quantity": 1}'
curl -X POST localhost:9999/orders -H "Content-Type: application/json" -d '{"item": "laptop7", "quantity": 1}'
curl -X POST localhost:9999/orders -H "Content-Type: application/json" -d '{"item": "laptop8", "quantity": 1}'
curl -X POST localhost:9999/orders -H "Content-Type: application/json" -d '{"item": "laptop9", "quantity": 1}'
curl -X POST localhost:9999/orders -H "Content-Type: application/json" -d '{"item": "laptop10", "quantity": 1}'
curl -X POST localhost:9999/orders -H "Content-Type: application/json" -d '{"item": "laptop11", "quantity": 1}'
curl -X POST localhost:9999/orders -H "Content-Type: application/json" -d '{"item": "laptop12", "quantity": 1}'
curl -X POST localhost:9999/orders -H "Content-Type: application/json" -d '{"item": "laptop13", "quantity": 1}'
curl -X POST localhost:9999/orders -H "Content-Type: application/json" -d '{"item": "laptop14", "quantity": 1}'
curl -X POST localhost:9999/orders -H "Content-Type: application/json" -d '{"item": "laptop15", "quantity": 1}'
curl -X POST localhost:9999/orders -H "Content-Type: application/json" -d '{"item": "laptop16", "quantity": 1}'
curl -X POST localhost:9999/orders -H "Content-Type: application/json" -d '{"item": "laptop17", "quantity": 1}'
curl -X POST localhost:9999/orders -H "Content-Type: application/json" -d '{"item": "laptop18", "quantity": 1}'
curl -X POST localhost:9999/orders -H "Content-Type: application/json" -d '{"item": "laptop19", "quantity": 1}'
curl -X POST localhost:9999/orders -H "Content-Type: application/json" -d '{"item": "laptop20", "quantity": 1}'