-
-
Notifications
You must be signed in to change notification settings - Fork 328
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master'
- Loading branch information
Showing
11 changed files
with
557 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,185 @@ | ||
{ | ||
"variables": [], | ||
"info": { | ||
"name": "Custom API", | ||
"_postman_id": "", | ||
"description": "", | ||
"schema": "https:\/\/schema.getpostman.com\/json\/collection\/v2.0.0\/collection.json", | ||
"version": "3.9.9" | ||
}, | ||
"item": [ | ||
{ | ||
"name": "Group A", | ||
"description": "", | ||
"item": [ | ||
{ | ||
"name": "Example title.", | ||
"request": { | ||
"url": { | ||
"protocol": "http", | ||
"host": "localhost", | ||
"path": "api\/withDescription", | ||
"query": [], | ||
"raw": "http:\/\/localhost\/api\/withDescription" | ||
}, | ||
"method": "GET", | ||
"header": [ | ||
{ | ||
"key": "Content-Type", | ||
"value": "application\/json" | ||
}, | ||
{ | ||
"key": "Accept", | ||
"value": "application\/json" | ||
} | ||
], | ||
"body": { | ||
"mode": "raw", | ||
"raw": "[]", | ||
"options": { | ||
"raw": { | ||
"language": "json" | ||
} | ||
} | ||
}, | ||
"description": "This will be the long description.\nIt can also be multiple lines long.", | ||
"response": [] | ||
} | ||
}, | ||
{ | ||
"name": "api\/withResponseTag", | ||
"request": { | ||
"url": { | ||
"protocol": "http", | ||
"host": "localhost", | ||
"path": "api\/withResponseTag", | ||
"query": [], | ||
"raw": "http:\/\/localhost\/api\/withResponseTag" | ||
}, | ||
"method": "GET", | ||
"header": [ | ||
{ | ||
"key": "Content-Type", | ||
"value": "application\/json" | ||
}, | ||
{ | ||
"key": "Accept", | ||
"value": "application\/json" | ||
} | ||
], | ||
"body": { | ||
"mode": "raw", | ||
"raw": "[]", | ||
"options": { | ||
"raw": { | ||
"language": "json" | ||
} | ||
} | ||
}, | ||
"description": "", | ||
"response": [] | ||
} | ||
}, | ||
{ | ||
"name": "Endpoint with body parameters.", | ||
"request": { | ||
"url": { | ||
"protocol": "http", | ||
"host": "localhost", | ||
"path": "api\/withBodyParameters", | ||
"query": [], | ||
"raw": "http:\/\/localhost\/api\/withBodyParameters" | ||
}, | ||
"method": "POST", | ||
"header": [ | ||
{ | ||
"key": "Content-Type", | ||
"value": "application\/json" | ||
}, | ||
{ | ||
"key": "Accept", | ||
"value": "application\/json" | ||
} | ||
], | ||
"body": { | ||
"mode": "raw", | ||
"raw": "{\n \"user_id\": 9,\n \"room_id\": \"consequatur\",\n \"forever\": false,\n \"another_one\": 11613.31890586,\n \"yet_another_param\": {\n \"name\": \"consequatur\"\n },\n \"even_more_param\": [\n 11613.31890586\n ],\n \"book\": {\n \"name\": \"consequatur\",\n \"author_id\": 17,\n \"pages_count\": 17\n },\n \"ids\": [\n 17\n ],\n \"users\": [\n {\n \"first_name\": \"John\",\n \"last_name\": \"Doe\"\n }\n ]\n}", | ||
"options": { | ||
"raw": { | ||
"language": "json" | ||
} | ||
} | ||
}, | ||
"description": "", | ||
"response": [] | ||
} | ||
}, | ||
{ | ||
"name": "api\/withQueryParameters", | ||
"request": { | ||
"url": { | ||
"protocol": "http", | ||
"host": "localhost", | ||
"path": "api\/withQueryParameters", | ||
"query": [ | ||
{ | ||
"key": "location_id", | ||
"value": "consequatur", | ||
"description": "The id of the location.", | ||
"disabled": false | ||
}, | ||
{ | ||
"key": "user_id", | ||
"value": "me", | ||
"description": "The id of the user.", | ||
"disabled": false | ||
}, | ||
{ | ||
"key": "page", | ||
"value": "4", | ||
"description": "The page number.", | ||
"disabled": false | ||
}, | ||
{ | ||
"key": "filters", | ||
"value": "consequatur", | ||
"description": "The filters.", | ||
"disabled": false | ||
}, | ||
{ | ||
"key": "url_encoded", | ||
"value": "%2B+%5B%5D%26%3D", | ||
"description": "Used for testing that URL parameters will be URL-encoded where needed.", | ||
"disabled": false | ||
} | ||
], | ||
"raw": "http:\/\/localhost\/api\/withQueryParameters?location_id=consequatur&user_id=me&page=4&filters=consequatur&url_encoded=%2B+%5B%5D%26%3D" | ||
}, | ||
"method": "GET", | ||
"header": [ | ||
{ | ||
"key": "Content-Type", | ||
"value": "application\/json" | ||
}, | ||
{ | ||
"key": "Accept", | ||
"value": "application\/json" | ||
} | ||
], | ||
"body": { | ||
"mode": "raw", | ||
"raw": "[]", | ||
"options": { | ||
"raw": { | ||
"language": "json" | ||
} | ||
} | ||
}, | ||
"description": "", | ||
"response": [] | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.