{ "variables": [], "info": { "name": "Laravel API", "_postman_id": "", "description": "", "schema": "https:\/\/schema.getpostman.com\/json\/collection\/v2.0.0\/collection.json" }, "item": [ { "name": "Group A", "description": "", "item": [ { "name": "Example title.", "request": { "url": "http:\/\/localhost\/api\/withDescription", "method": "GET", "header": [ { "key": "Authorization", "value": "customAuthToken" }, { "key": "Custom-Header", "value": "NotSoCustom" }, { "key": "Accept", "value": "application\/json" } ], "body": { "mode": "formdata", "formdata": [] }, "description": "This will be the long description.\nIt can also be multiple lines long.", "response": [] } }, { "name": "http:\/\/localhost\/api\/withResponseTag", "request": { "url": "http:\/\/localhost\/api\/withResponseTag", "method": "GET", "header": [ { "key": "Authorization", "value": "customAuthToken" }, { "key": "Custom-Header", "value": "NotSoCustom" }, { "key": "Accept", "value": "application\/json" } ], "body": { "mode": "formdata", "formdata": [] }, "description": "", "response": [] } }, { "name": "Endpoint with body parameters.", "request": { "url": "http:\/\/localhost\/api\/withBodyParameters", "method": "GET", "header": [ { "key": "Authorization", "value": "customAuthToken" }, { "key": "Custom-Header", "value": "NotSoCustom" }, { "key": "Accept", "value": "application\/json" } ], "body": { "mode": "formdata", "formdata": [ { "key": "user_id", "value": 9, "type": "text", "enabled": true }, { "key": "room_id", "value": "consequatur", "type": "text", "enabled": true }, { "key": "forever", "value": false, "type": "text", "enabled": true }, { "key": "another_one", "value": 11613.31890586, "type": "text", "enabled": true }, { "key": "yet_another_param", "value": {}, "type": "text", "enabled": true }, { "key": "yet_another_param.name", "value": "consequatur", "type": "text", "enabled": true }, { "key": "even_more_param", "value": [], "type": "text", "enabled": true }, { "key": "even_more_param.*", "value": 11613.31890586, "type": "text", "enabled": true }, { "key": "book.name", "value": "consequatur", "type": "text", "enabled": true }, { "key": "book.author_id", "value": 17, "type": "text", "enabled": true }, { "key": "book[pages_count]", "value": 17, "type": "text", "enabled": true }, { "key": "ids.*", "value": 17, "type": "text", "enabled": true }, { "key": "users.*.first_name", "value": "John", "type": "text", "enabled": true }, { "key": "users.*.last_name", "value": "Doe", "type": "text", "enabled": true } ] }, "description": "", "response": [] } }, { "name": "http:\/\/localhost\/api\/withQueryParameters", "request": { "url": "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": "Authorization", "value": "customAuthToken" }, { "key": "Custom-Header", "value": "NotSoCustom" }, { "key": "Accept", "value": "application\/json" } ], "body": { "mode": "formdata", "formdata": [] }, "description": "", "response": [] } }, { "name": "http:\/\/localhost\/api\/withAuthTag", "request": { "url": "http:\/\/localhost\/api\/withAuthTag", "method": "GET", "header": [ { "key": "Authorization", "value": "customAuthToken" }, { "key": "Custom-Header", "value": "NotSoCustom" }, { "key": "Accept", "value": "application\/json" } ], "body": { "mode": "formdata", "formdata": [] }, "description": "", "response": [] } }, { "name": "http:\/\/localhost\/api\/withEloquentApiResource", "request": { "url": "http:\/\/localhost\/api\/withEloquentApiResource", "method": "GET", "header": [ { "key": "Authorization", "value": "customAuthToken" }, { "key": "Custom-Header", "value": "NotSoCustom" }, { "key": "Accept", "value": "application\/json" } ], "body": { "mode": "formdata", "formdata": [] }, "description": "", "response": [] } }, { "name": "http:\/\/localhost\/api\/withMultipleResponseTagsAndStatusCode", "request": { "url": "http:\/\/localhost\/api\/withMultipleResponseTagsAndStatusCode", "method": "POST", "header": [ { "key": "Authorization", "value": "customAuthToken" }, { "key": "Custom-Header", "value": "NotSoCustom" }, { "key": "Accept", "value": "application\/json" } ], "body": { "mode": "formdata", "formdata": [] }, "description": "", "response": [] } } ] }, { "name": "Other\ud83d\ude0e", "description": "", "item": [ { "name": "http:\/\/localhost\/api\/withEloquentApiResourceCollectionClass", "request": { "url": "http:\/\/localhost\/api\/withEloquentApiResourceCollectionClass", "method": "GET", "header": [ { "key": "Authorization", "value": "customAuthToken" }, { "key": "Custom-Header", "value": "NotSoCustom" }, { "key": "Accept", "value": "application\/json" } ], "body": { "mode": "formdata", "formdata": [] }, "description": "", "response": [] } }, { "name": "http:\/\/localhost\/api\/echoesUrlParameters\/{param}-{param2}\/{param3?}", "request": { "url": "http:\/\/localhost\/api\/echoesUrlParameters\/{param}-{param2}\/{param3?}?something=consequatur", "method": "GET", "header": [ { "key": "Authorization", "value": "customAuthToken" }, { "key": "Custom-Header", "value": "NotSoCustom" }, { "key": "Accept", "value": "application\/json" } ], "body": { "mode": "formdata", "formdata": [] }, "description": "", "response": [] } } ] } ] }