Skip to content

Commit ca32eec

Browse files
committed
added the postman collection
1 parent 6df546f commit ca32eec

File tree

1 file changed

+162
-0
lines changed

1 file changed

+162
-0
lines changed
Lines changed: 162 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,162 @@
1+
{
2+
"info": {
3+
"_postman_id": "c6385fe5-7dc3-4ca3-80c1-a5a5bd589d36",
4+
"name": "Feedback App",
5+
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
6+
"_exporter_id": "14791724"
7+
},
8+
"item": [
9+
{
10+
"name": "Create Feedback",
11+
"request": {
12+
"method": "POST",
13+
"header": [],
14+
"body": {
15+
"mode": "raw",
16+
"raw": "{\r\n \"name\": \"John Doe\",\r\n \"email\": \"johndoe@gmail.com\",\r\n \"feedback\": \"I watched your previous video and I'm impressed!\",\r\n \"rating\": 4.5,\r\n \"status\": \"active\"\r\n}",
17+
"options": {
18+
"raw": {
19+
"language": "json"
20+
}
21+
}
22+
},
23+
"url": {
24+
"raw": "http://localhost:8000/api/feedbacks/",
25+
"protocol": "http",
26+
"host": [
27+
"localhost"
28+
],
29+
"port": "8000",
30+
"path": [
31+
"api",
32+
"feedbacks",
33+
""
34+
]
35+
}
36+
},
37+
"response": []
38+
},
39+
{
40+
"name": "Get Feedback",
41+
"request": {
42+
"method": "GET",
43+
"header": [],
44+
"url": {
45+
"raw": "http://localhost:8000/api/feedbacks/33004b04-0f6b-4f56-889a-3c40df392f39",
46+
"protocol": "http",
47+
"host": [
48+
"localhost"
49+
],
50+
"port": "8000",
51+
"path": [
52+
"api",
53+
"feedbacks",
54+
"33004b04-0f6b-4f56-889a-3c40df392f39"
55+
]
56+
}
57+
},
58+
"response": []
59+
},
60+
{
61+
"name": "Health Checker",
62+
"request": {
63+
"method": "GET",
64+
"header": [],
65+
"url": {
66+
"raw": "http://localhost:8000/api/healthchecker",
67+
"protocol": "http",
68+
"host": [
69+
"localhost"
70+
],
71+
"port": "8000",
72+
"path": [
73+
"api",
74+
"healthchecker"
75+
]
76+
}
77+
},
78+
"response": []
79+
},
80+
{
81+
"name": "Edit Feedback",
82+
"request": {
83+
"method": "PATCH",
84+
"header": [],
85+
"body": {
86+
"mode": "raw",
87+
"raw": "{\r\n \"feedback\": \"Rust is the best language to learn\",\r\n \"rating\": 4.3,\r\n \"name\": \"Edem\",\r\n \"status\": \"active\"\r\n}",
88+
"options": {
89+
"raw": {
90+
"language": "json"
91+
}
92+
}
93+
},
94+
"url": {
95+
"raw": "http://localhost:8000/api/feedbacks/33004b04-0f6b-4f56-889a-3c40df392f39",
96+
"protocol": "http",
97+
"host": [
98+
"localhost"
99+
],
100+
"port": "8000",
101+
"path": [
102+
"api",
103+
"feedbacks",
104+
"33004b04-0f6b-4f56-889a-3c40df392f39"
105+
]
106+
}
107+
},
108+
"response": []
109+
},
110+
{
111+
"name": "Delete Feedback",
112+
"request": {
113+
"method": "DELETE",
114+
"header": [],
115+
"url": {
116+
"raw": "http://localhost:8000/api/feedbacks/33004b04-0f6b-4f56-889a-3c40df392f39",
117+
"protocol": "http",
118+
"host": [
119+
"localhost"
120+
],
121+
"port": "8000",
122+
"path": [
123+
"api",
124+
"feedbacks",
125+
"33004b04-0f6b-4f56-889a-3c40df392f39"
126+
]
127+
}
128+
},
129+
"response": []
130+
},
131+
{
132+
"name": "Get Feedbacks",
133+
"request": {
134+
"method": "GET",
135+
"header": [],
136+
"url": {
137+
"raw": "http://localhost:8000/api/feedbacks?page=1&limit=10",
138+
"protocol": "http",
139+
"host": [
140+
"localhost"
141+
],
142+
"port": "8000",
143+
"path": [
144+
"api",
145+
"feedbacks"
146+
],
147+
"query": [
148+
{
149+
"key": "page",
150+
"value": "1"
151+
},
152+
{
153+
"key": "limit",
154+
"value": "10"
155+
}
156+
]
157+
}
158+
},
159+
"response": []
160+
}
161+
]
162+
}

0 commit comments

Comments
 (0)