Skip to content

Commit 4c5ca11

Browse files
committed
postman collection for /entities api
1 parent 10fd497 commit 4c5ca11

File tree

1 file changed

+135
-0
lines changed

1 file changed

+135
-0
lines changed
Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
{
2+
"info": {
3+
"_postman_id": "b0767be5-f994-4900-899e-d2312d5327d6",
4+
"name": "go-web-frameworks",
5+
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
6+
},
7+
"item": [
8+
{
9+
"name": "entity add",
10+
"request": {
11+
"method": "POST",
12+
"header": [],
13+
"body": {
14+
"mode": "raw",
15+
"raw": "{\n \"type\": \"person\",\n \"name\": \"KenanBek\",\n \"description\": \"KenanBek is a software engineer\"\n}",
16+
"options": {
17+
"raw": {
18+
"language": "json"
19+
}
20+
}
21+
},
22+
"url": {
23+
"raw": "localhost:8080/entities",
24+
"host": [
25+
"localhost"
26+
],
27+
"port": "8080",
28+
"path": [
29+
"entities"
30+
]
31+
}
32+
},
33+
"response": []
34+
},
35+
{
36+
"name": "entity delete",
37+
"request": {
38+
"method": "DELETE",
39+
"header": [],
40+
"body": {
41+
"mode": "raw",
42+
"raw": "",
43+
"options": {
44+
"raw": {
45+
"language": "json"
46+
}
47+
}
48+
},
49+
"url": {
50+
"raw": "localhost:8080/entities/13",
51+
"host": [
52+
"localhost"
53+
],
54+
"port": "8080",
55+
"path": [
56+
"entities",
57+
"13"
58+
]
59+
}
60+
},
61+
"response": []
62+
},
63+
{
64+
"name": "entity update",
65+
"request": {
66+
"method": "PUT",
67+
"header": [],
68+
"body": {
69+
"mode": "raw",
70+
"raw": "{\n \"id\": \"1\",\n \"type\": \"person\",\n \"name\": \"KenanBek1\",\n \"description\": \"KenanBek1 is a software engineer\"\n}",
71+
"options": {
72+
"raw": {
73+
"language": "json"
74+
}
75+
}
76+
},
77+
"url": {
78+
"raw": "localhost:8080/entities/1",
79+
"host": [
80+
"localhost"
81+
],
82+
"port": "8080",
83+
"path": [
84+
"entities",
85+
"1"
86+
]
87+
}
88+
},
89+
"response": []
90+
},
91+
{
92+
"name": "entity get",
93+
"request": {
94+
"method": "GET",
95+
"header": [],
96+
"url": {
97+
"raw": "localhost:8080/entities/1",
98+
"host": [
99+
"localhost"
100+
],
101+
"port": "8080",
102+
"path": [
103+
"entities",
104+
"1"
105+
]
106+
}
107+
},
108+
"response": []
109+
},
110+
{
111+
"name": "entity list",
112+
"request": {
113+
"method": "GET",
114+
"header": [],
115+
"url": {
116+
"raw": "localhost:8080/entities?page=1",
117+
"host": [
118+
"localhost"
119+
],
120+
"port": "8080",
121+
"path": [
122+
"entities"
123+
],
124+
"query": [
125+
{
126+
"key": "page",
127+
"value": "1"
128+
}
129+
]
130+
}
131+
},
132+
"response": []
133+
}
134+
]
135+
}

0 commit comments

Comments
 (0)