-
Notifications
You must be signed in to change notification settings - Fork 0
/
CoSP.postman_collection.json
73 lines (73 loc) · 1.53 KB
/
CoSP.postman_collection.json
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
{
"info": {
"_postman_id": "a43daacd-9650-4901-ab39-878907e8503b",
"name": "CoSP",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json",
"_exporter_id": "25463480"
},
"item": [
{
"name": "Create new code",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"code\": \"Secret code\",\n \"time\": 60,\n \"views\": 5\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "http://localhost:8889/api/code/new"
},
"response": []
},
{
"name": "Get code",
"request": {
"method": "GET",
"header": [],
"url": "http://localhost:8889/code/f3074512-76de-4ed4-931f-1e6ed60274ac"
},
"response": []
},
{
"name": "http://localhost:8889/api/code/fdc71eb8-1799-4068-8c21-064f90d0d5a6",
"request": {
"method": "GET",
"header": [],
"url": "http://localhost:8889/api/code/fdc71eb8-1799-4068-8c21-064f90d0d5a6"
},
"response": []
},
{
"name": "http://localhost:8889/api/code/latest",
"request": {
"method": "GET",
"header": [],
"url": "http://localhost:8889/api/code/latest"
},
"response": []
},
{
"name": "http://localhost:8889/code/latest",
"request": {
"method": "GET",
"header": [],
"url": "http://localhost:8889/code/latest"
},
"response": []
},
{
"name": "Get code at API",
"request": {
"method": "GET",
"header": [],
"url": "http://localhost:8889/code/new"
},
"response": []
}
]
}