-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSANDBOX.http
83 lines (64 loc) · 2.46 KB
/
SANDBOX.http
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# root
GET http://localhost:5000/
Authorization:Basic TWFzdGVyczpBY2FkZW15
###
PUT http://localhost:5000/newJson HTTP/1.1
Authorization:Basic TWFzdGVyczpBY2FkZW15
content-type: application/json
[
{"type": "socks", "color": "red", "quantity": 10, "priceForPair": "$3"},
{"type": "socks", "color": "green", "quantity": 5, "priceForPair": "$10"},
{"type": "socks", "color": "blue", "quantity": 8, "priceForPair": "$6"},
{"type": "hat", "color": "red", "quantity": 7, "price": "$5"},
{"type": "hat", "color": "green", "quantity": 0, "price": "$6"},
{"type": "socks", "color": "blue", "priceForPair": "$6"},
{"type": "socks", "color": "red", "quantity": 10, "priceForPair": "$3"},
{"type": "socks", "color": "white", "quantity": 3, "priceForPair": "$4"},
{"type": "socks", "color": "green", "priceForPair": "$10"},
{"type": "socks", "color": "blue", "quantity": 2, "priceForPair": "$6"},
{"type": "hat", "color": "green", "quantity": 3, "price": "$5"},
{"type": "hat", "color": "red", "quantity": 1, "price": "$6"},
{"type": "socks", "color": "blue", "priceForPair": "$6"},
{"type": "boots", "color": "white", "quantity": 14, "priceForPair": "$29.99"},
{"type": "cap", "color": "purple", "quantity": 14, "price": "$11.99"},
{"type": "cap", "color": "black", "quantity": 88, "price": "$19.99"},
{"type": "shirt", "color": "red", "quantity": 161, "price": "$9.99"},
{"type": "T-shirt", "color": "yellow", "quantity": 666, "price": "$0.99"}
]
###
GET http://localhost:5000/blackfriday/async
Authorization:Basic TWFzdGVyczpBY2FkZW15
###
GET http://localhost:5000/blackfriday/clbck
Authorization:Basic TWFzdGVyczpBY2FkZW15
###
GET http://localhost:5000/blackfriday/prmss
Authorization:Basic TWFzdGVyczpBY2FkZW15
###
###
PUT http://localhost:5000/uploadcsv HTTP/1.1
Authorization: Basic TWFzdGVyczpBY2FkZW15
< med_sample.csv.gz
###
PUT http://localhost:5000/uploadcsv HTTP/1.1
Content-Type: application/gzip
Authorization:Basic TWFzdGVyczpBY2FkZW15
< products.csv.gz
###
POST http://localhost:5000/optimize/rYoLo8mcLbp6q2_290uow.json
Authorization:Basic TWFzdGVyczpBY2FkZW15
###
GET http://localhost:5000/upload/listOfFiles
Authorization:Basic TWFzdGVyczpBY2FkZW15
###
PUT http://localhost:5000/uploadcsv HTTP/1.1
Content-Type: application/gzip
< med_sample.csv.gz
###
GET http://localhost:5000/listOfFiles
###
PUT http://localhost:5000/uploadcsv HTTP/1.1
Content-Type: application/gzip
< products.csv.gz
###
PUT http://localhost:5000/optimize/VItS_BdPmUVFwWZlpj403.json