-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrest-client.http
More file actions
49 lines (32 loc) · 763 Bytes
/
rest-client.http
File metadata and controls
49 lines (32 loc) · 763 Bytes
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
POST http://localhost:5000/document
content-type: application/json
{
"document":{
"name":"68c0d0ssss8",
"type":"3",
"quantity":20
}
}
###
GET http://localhost:5000/document/284fe61f-b359-4e68-b31d-c7313935ef7c
content-type: application/json
###
PUT http://localhost:5000/document/284fe61f-b359-4e68-b31d-c7313935ef7c
content-type: application/json
{
"document":{
"type":"000",
"quantity":200003,
"obj":1001
}
}
###
GET http://localhost:5000/document/284fe61f-b359-4e68-b31d-c7313935ef7c/history
content-type: application/json
###
POST http://localhost:5000/document/284fe61f-b359-4e68-b31d-c7313935ef7c/diff
content-type: application/json
{
"version_1":1,
"version_2":2
}