-
Notifications
You must be signed in to change notification settings - Fork 2
/
debug.http
49 lines (37 loc) · 922 Bytes
/
debug.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
GET http://localhost:3001/init
###
GET http://localhost:3001/debug
###
GET http://localhost:3001/sale
###
POST http://localhost:3001/sale
{"state":"0"}
###
PUT http://localhost:3001/sale
{"state":"0","id":1,"products":[
{"product_id":3,"state":0},
{"product_id":14,"state":0},
{"product_id":14,"state":0}
]}
###
PUT http://localhost:3001/sale
{"state":"0","id":1,"products":[
{"id":"6", "product_id":3,"state":0},
{"id":"5", "product_id":14,"state":0},
{"id":"4", "product_id":14,"state":0}
]}
###
PUT http://localhost:3001/sale
{"state":"0","id":1,"products":[
{"id":"6", "product_id":3,"state":0},
{"id":"5", "product_id":14,"state":0},
{"product_id":13,"state":0}
]}
###
GET http://localhost:5000/debit/18.45
###
GET http://localhost:5000/queue
###
GET http://localhost:5000/payments
###
GET http://localhost:5000/payments/0a0ecdf0-7e4e-47d2-aadd-7630e69993d3