-
Notifications
You must be signed in to change notification settings - Fork 11
/
micro-do.postman_collection.json
62 lines (62 loc) · 1.55 KB
/
micro-do.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
{
"variables": [],
"info": {
"name": "micro-do",
"_postman_id": "5d517bd2-b9e8-73c0-6fa5-36be985b6829",
"description": "",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
"item": [
{
"name": "Todo GET / POST test",
"request": {
"url": "http://localhost:8080/api/v1/todo/",
"method": "POST",
"header": [],
"body": {},
"description": ""
},
"response": []
},
{
"name": "Register a user",
"request": {
"url": "http://localhost:8080/api/v1/user",
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": ""
}
],
"body": {
"mode": "raw",
"raw": "{\n\t\"message_name\": \"UserService.RegisterUser\",\n\t\"payload\": {\n\t\t\"user_id\": \"2e237e43-1285-4f7e-a03f-ec5cf3455905\",\n\t\t\"name\": \"codeliner\",\n\t\t\"email\": \"[email protected]\"\n\t}\n}"
},
"description": ""
},
"response": []
},
{
"name": "Get a user",
"request": {
"url": "http://localhost:8080/api/v1/user/2e237e43-1285-4f7e-a03f-ec5cf3455905",
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": ""
}
],
"body": {
"mode": "raw",
"raw": "{\n\t\"message_name\": \"UserService.RegisterUser\",\n\t\"payload\": {\n\t\t\"user_id\": \"2e237e43-1285-4f7e-a03f-ec5cf3455905\",\n\t\t\"name\": \"Alex\",\n\t\t\"email\": \"[email protected]\"\n\t}\n}"
},
"description": ""
},
"response": []
}
]
}