-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDevOps Hack Final.postman_collection.json
More file actions
64 lines (64 loc) · 1.32 KB
/
DevOps Hack Final.postman_collection.json
File metadata and controls
64 lines (64 loc) · 1.32 KB
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
{
"info": {
"_postman_id": "1d053e33-9cd4-4950-aae6-210f4ecd669f",
"name": "DevOps Hack Final",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json",
"_exporter_id": "28297442"
},
"item": [
{
"name": "node 1 get posts",
"request": {
"method": "GET",
"header": [],
"url": "http://localhost:7070/get-posts/1"
},
"response": []
},
{
"name": "node 2 get posts",
"request": {
"method": "GET",
"header": [],
"url": "http://localhost:7080/get-posts/2"
},
"response": []
},
{
"name": "node 2 create a post for a user",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"id\": \"3\",\n \"content\" : \"Nafi election website baniyechi\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "http://localhost:7080/create-post/"
},
"response": []
},
{
"name": "node 1 create a post for a user",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"id\": \"1\",\n \"content\" : \"DevOps Hackathon Ami Kichu pari na\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "http://localhost:7070/create-post/"
},
"response": []
}
]
}