123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276 |
- {
- "variable": [],
- "info": {
- "name": "GREAT API!",
- "_postman_id": "",
- "description": "",
- "schema": "https:\/\/schema.getpostman.com\/json\/collection\/v2.1.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": "Custom-Header",
- "value": "NotSoCustom"
- },
- {
- "key": "Accept",
- "value": "application\/json"
- }
- ],
- "body": null,
- "description": "This will be the long description.\nIt can also be multiple lines long.",
- "auth": {
- "type": "noauth"
- }
- },
- "response": []
- },
- {
- "name": "Endpoint with body form data parameters.",
- "request": {
- "url": {
- "protocol": "http",
- "host": "localhost",
- "path": "api\/withFormDataParams",
- "query": [],
- "raw": "http:\/\/localhost\/api\/withFormDataParams"
- },
- "method": "POST",
- "header": [
- {
- "key": "Custom-Header",
- "value": "NotSoCustom"
- },
- {
- "key": "Content-Type",
- "value": "multipart\/form-data"
- },
- {
- "key": "Accept",
- "value": "application\/json"
- }
- ],
- "body": {
- "mode": "formdata",
- "formdata": [
- {
- "key": "name",
- "value": "cat.jpg",
- "type": "text"
- },
- {
- "key": "image",
- "src": [],
- "type": "file"
- }
- ]
- },
- "description": "",
- "auth": {
- "type": "noauth"
- }
- },
- "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": "Custom-Header",
- "value": "NotSoCustom"
- },
- {
- "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}"
- },
- "description": "",
- "auth": {
- "type": "noauth"
- }
- },
- "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": "Custom-Header",
- "value": "NotSoCustom"
- },
- {
- "key": "Accept",
- "value": "application\/json"
- }
- ],
- "body": null,
- "description": "",
- "auth": {
- "type": "noauth"
- }
- },
- "response": []
- },
- {
- "name": "api\/withAuthTag",
- "request": {
- "url": {
- "protocol": "http",
- "host": "localhost",
- "path": "api\/withAuthTag",
- "query": [],
- "raw": "http:\/\/localhost\/api\/withAuthTag"
- },
- "method": "GET",
- "header": [
- {
- "key": "Custom-Header",
- "value": "NotSoCustom"
- },
- {
- "key": "Accept",
- "value": "application\/json"
- }
- ],
- "body": null,
- "description": "",
- "auth": null
- },
- "response": []
- }
- ]
- },
- {
- "name": "Other\ud83d\ude0e",
- "description": "",
- "item": [
- {
- "name": "api\/echoesUrlParameters\/{param}-{param2}\/{param3?}",
- "request": {
- "url": {
- "protocol": "http",
- "host": "localhost",
- "path": "api\/echoesUrlParameters\/:param-:param2\/:param3",
- "query": [
- {
- "key": "something",
- "value": "consequatur",
- "description": "",
- "disabled": false
- }
- ],
- "raw": "http:\/\/localhost\/api\/echoesUrlParameters\/:param-:param2\/:param3?something=consequatur",
- "variable": [
- {
- "id": "param",
- "key": "param",
- "value": "4",
- "description": ""
- },
- {
- "id": "param2",
- "key": "param2",
- "value": "consequatur",
- "description": ""
- }
- ]
- },
- "method": "GET",
- "header": [
- {
- "key": "Custom-Header",
- "value": "NotSoCustom"
- },
- {
- "key": "Accept",
- "value": "application\/json"
- }
- ],
- "body": null,
- "description": "",
- "auth": {
- "type": "noauth"
- }
- },
- "response": []
- }
- ]
- }
- ],
- "auth": {
- "type": "noauth"
- }
- }
|