Skip to content

Commit 2611abd

Browse files
watchtheblurlpatmo
authored andcommitted
revert postman changes
1 parent 61c9d55 commit 2611abd

File tree

1 file changed

+20
-33
lines changed

1 file changed

+20
-33
lines changed

postman/CodeBuddies.postman_collection.json

+20-33
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"info": {
3-
"_postman_id": "439a9eb2-2c95-40f5-beb9-d7d40a660755",
3+
"_postman_id": "5b8c55c5-59e8-4e5b-a4c4-4fe5e0386dec",
44
"name": "CodeBuddies",
55
"description": "# CodeBuddies\n\nThis collection contains requests for CodeBuddies backend APIs.",
66
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
@@ -15,7 +15,7 @@
1515
{
1616
"listen": "prerequest",
1717
"script": {
18-
"id": "16cd9a3f-dd4a-49e8-95bb-5a223ea4521a",
18+
"id": "3fdee563-a6f5-425f-9c34-6887b3d8b4a0",
1919
"exec": [
2020
"pm.globals.set(\"username\", pm.variables.replaceIn(\"{{$randomUserName}}\"));",
2121
"pm.globals.set(\"password\", pm.variables.replaceIn(\"{{$randomPassword}}\"));"
@@ -26,7 +26,7 @@
2626
{
2727
"listen": "test",
2828
"script": {
29-
"id": "57091b04-855b-42db-8f77-85842f515779",
29+
"id": "df18b545-6f8c-4d4e-b2c0-7d194a57ae7f",
3030
"exec": [
3131
"var jsonData = pm.response.json();",
3232
"pm.globals.set(\"token\", jsonData.token);"
@@ -77,7 +77,7 @@
7777
{
7878
"listen": "test",
7979
"script": {
80-
"id": "a065c4da-7168-4f34-a5d7-72c19c72f004",
80+
"id": "5f595540-a1db-46b0-9008-9bbcc68c4fa3",
8181
"exec": [
8282
"var jsonData = pm.response.json();",
8383
"pm.globals.set(\"token\", jsonData.token);"
@@ -88,7 +88,7 @@
8888
{
8989
"listen": "prerequest",
9090
"script": {
91-
"id": "2e42b467-5668-40f6-889a-1f28c5766a34",
91+
"id": "c5b6218c-1b5f-4d9f-ad1a-0af10e88e5d2",
9292
"exec": [
9393
""
9494
],
@@ -97,6 +97,9 @@
9797
}
9898
],
9999
"request": {
100+
"auth": {
101+
"type": "noauth"
102+
},
100103
"method": "POST",
101104
"header": [
102105
{
@@ -189,42 +192,26 @@
189192
}
190193
},
191194
"response": []
192-
},
193-
{
194-
"name": "Search",
195-
"request": {
196-
"method": "GET",
197-
"header": [],
198-
"url": {
199-
"raw": "{{api_url}}/api/v1/resources/?search=benefit",
200-
"host": [
201-
"{{api_url}}"
202-
],
203-
"path": [
204-
"api",
205-
"v1",
206-
"resources",
207-
""
208-
],
209-
"query": [
210-
{
211-
"key": "search",
212-
"value": "benefit"
213-
}
214-
]
215-
}
216-
},
217-
"response": []
218195
}
219196
],
220197
"protocolProfileBehavior": {}
221198
}
222199
],
200+
"auth": {
201+
"type": "bearer",
202+
"bearer": [
203+
{
204+
"key": "token",
205+
"value": "{{token}}",
206+
"type": "string"
207+
}
208+
]
209+
},
223210
"event": [
224211
{
225212
"listen": "prerequest",
226213
"script": {
227-
"id": "1a4b8bb3-f435-4d5a-a1db-2abfd238538c",
214+
"id": "2d0d1108-ddd6-4b84-be9f-4032954698ff",
228215
"type": "text/javascript",
229216
"exec": [
230217
""
@@ -234,7 +221,7 @@
234221
{
235222
"listen": "test",
236223
"script": {
237-
"id": "8caf2b43-2571-4dbe-8ecd-faabfc4b8b5a",
224+
"id": "18a56020-3cca-4e90-9ad0-fa01c7098f5e",
238225
"type": "text/javascript",
239226
"exec": [
240227
""

0 commit comments

Comments
 (0)