Skip to content

Commit 41fabaa

Browse files
Postman collection
1 parent 48735fc commit 41fabaa

File tree

1 file changed

+249
-0
lines changed

1 file changed

+249
-0
lines changed
+249
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,249 @@
1+
{
2+
"info": {
3+
"_postman_id": "c107e9cd-e0e1-4ba9-8c0d-a7dea8a1fa60",
4+
"name": "surveryHeart_test",
5+
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
6+
},
7+
"item": [
8+
{
9+
"name": "add record",
10+
"request": {
11+
"method": "POST",
12+
"header": [
13+
{
14+
"key": "Accept-Encoding",
15+
"value": "gzip, deflate, br"
16+
},
17+
{
18+
"key": "Content-Type",
19+
"value": "application/json"
20+
},
21+
{
22+
"key": "Accept",
23+
"value": "application/json"
24+
},
25+
{
26+
"key": "Connection",
27+
"value": "keep-alive"
28+
},
29+
{
30+
"key": "DNT",
31+
"value": "1"
32+
},
33+
{
34+
"key": "Origin",
35+
"value": "http://localhost:4000"
36+
}
37+
],
38+
"body": {
39+
"mode": "raw",
40+
"raw": "{\"query\":\"mutation {\\n addUser(\\n input: {\\n email: \\\"[email protected]\\\"\\n name: \\\"vinod\\\"\\n provider: \\\"self\\\",\\n contactType:\\\"personal\\\"\\n phone :\\\"999999999\\\"\\n }\\n ) {\\n status {\\n code\\n header\\n description\\n moreInfo\\n }\\n data {\\n provider\\n }\\n }\\n}\\n\"}"
41+
},
42+
"url": {
43+
"raw": "http://localhost:4000/graphql",
44+
"protocol": "http",
45+
"host": [
46+
"localhost"
47+
],
48+
"port": "4000",
49+
"path": [
50+
"graphql"
51+
]
52+
}
53+
},
54+
"response": []
55+
},
56+
{
57+
"name": "Update Record",
58+
"request": {
59+
"method": "POST",
60+
"header": [
61+
{
62+
"key": "Accept-Encoding",
63+
"value": "gzip, deflate, br"
64+
},
65+
{
66+
"key": "Content-Type",
67+
"value": "application/json"
68+
},
69+
{
70+
"key": "Accept",
71+
"value": "application/json"
72+
},
73+
{
74+
"key": "Connection",
75+
"value": "keep-alive"
76+
},
77+
{
78+
"key": "DNT",
79+
"value": "1"
80+
},
81+
{
82+
"key": "Origin",
83+
"value": "http://localhost:4000"
84+
}
85+
],
86+
"body": {
87+
"mode": "raw",
88+
"raw": "{\"query\":\"mutation {\\n updateUser(\\n id:\\\"620fa1e961a4e528fc409dc3\\\"\\n input: {\\n email: \\\"[email protected]\\\"\\n name: \\\"kWWWWWWW\\\"\\n provider: \\\"self\\\"\\n }\\n ){\\n status {\\n code\\n header\\n description\\n }\\n data {\\n name\\n email\\n provider\\n }\\n }\\n}\\n\"}"
89+
},
90+
"url": {
91+
"raw": "http://localhost:4000/graphql",
92+
"protocol": "http",
93+
"host": [
94+
"localhost"
95+
],
96+
"port": "4000",
97+
"path": [
98+
"graphql"
99+
]
100+
}
101+
},
102+
"response": []
103+
},
104+
{
105+
"name": "read Record",
106+
"request": {
107+
"method": "POST",
108+
"header": [
109+
{
110+
"key": "Accept-Encoding",
111+
"value": "gzip, deflate, br"
112+
},
113+
{
114+
"key": "Content-Type",
115+
"value": "application/json"
116+
},
117+
{
118+
"key": "Accept",
119+
"value": "application/json"
120+
},
121+
{
122+
"key": "Connection",
123+
"value": "keep-alive"
124+
},
125+
{
126+
"key": "DNT",
127+
"value": "1"
128+
},
129+
{
130+
"key": "Origin",
131+
"value": "http://localhost:4000"
132+
}
133+
],
134+
"body": {
135+
"mode": "raw",
136+
"raw": "{\"query\":\"query{\\n getUsers(contactType:\\\"personal\\\"){\\n status{\\n code\\n header\\n description\\n }\\n data{\\n name\\n email\\n }\\n }\\n}\"}"
137+
},
138+
"url": {
139+
"raw": "http://localhost:4000/graphql",
140+
"protocol": "http",
141+
"host": [
142+
"localhost"
143+
],
144+
"port": "4000",
145+
"path": [
146+
"graphql"
147+
]
148+
}
149+
},
150+
"response": []
151+
},
152+
{
153+
"name": "find record by id",
154+
"request": {
155+
"method": "POST",
156+
"header": [
157+
{
158+
"key": "Accept-Encoding",
159+
"value": "gzip, deflate, br"
160+
},
161+
{
162+
"key": "Content-Type",
163+
"value": "application/json"
164+
},
165+
{
166+
"key": "Accept",
167+
"value": "application/json"
168+
},
169+
{
170+
"key": "Connection",
171+
"value": "keep-alive"
172+
},
173+
{
174+
"key": "DNT",
175+
"value": "1"
176+
},
177+
{
178+
"key": "Origin",
179+
"value": "http://localhost:4000"
180+
}
181+
],
182+
"body": {
183+
"mode": "raw",
184+
"raw": "{\"query\":\"query {\\n findByUserId(\\n id:\\\"620fdb746bab7f283c4d46db\\\"\\n ){\\n status {\\n code\\n header\\n description\\n }\\n data {\\n name\\n provider\\n }\\n }\\n}\\n\"}"
185+
},
186+
"url": {
187+
"raw": "http://localhost:4000/graphql",
188+
"protocol": "http",
189+
"host": [
190+
"localhost"
191+
],
192+
"port": "4000",
193+
"path": [
194+
"graphql"
195+
]
196+
}
197+
},
198+
"response": []
199+
},
200+
{
201+
"name": "get token",
202+
"request": {
203+
"method": "POST",
204+
"header": [
205+
{
206+
"key": "Accept-Encoding",
207+
"value": "gzip, deflate, br"
208+
},
209+
{
210+
"key": "Content-Type",
211+
"value": "application/json"
212+
},
213+
{
214+
"key": "Accept",
215+
"value": "application/json"
216+
},
217+
{
218+
"key": "Connection",
219+
"value": "keep-alive"
220+
},
221+
{
222+
"key": "DNT",
223+
"value": "1"
224+
},
225+
{
226+
"key": "Origin",
227+
"value": "http://localhost:4000"
228+
}
229+
],
230+
"body": {
231+
"mode": "raw",
232+
"raw": "{\"query\":\"query {\\n token(email: \\\"[email protected]\\\")\\n}\"}"
233+
},
234+
"url": {
235+
"raw": "http://localhost:4000/graphql",
236+
"protocol": "http",
237+
"host": [
238+
"localhost"
239+
],
240+
"port": "4000",
241+
"path": [
242+
"graphql"
243+
]
244+
}
245+
},
246+
"response": []
247+
}
248+
]
249+
}

0 commit comments

Comments
 (0)