api-flow
Version:
A flow written in ES6 using Immutable to convert between API description formats (Swagger, etc.) and other programs such as cURL command lines.
1,158 lines • 255 kB
JSON
{
"version": 1,
"collections": [
{
"id": "66854a03-55b0-7499-114b-236f124f8555",
"name": "API-Flow imports",
"order": [
"b807f5ac-8f2d-a9f4-3fae-9db65be58950",
"da34fbd4-fd36-7ca6-bc49-9ae6ecbc75fe",
"351b55b4-78f8-6c0a-1d79-7228b5fdb040",
"cfc78583-12f9-1cc2-3dc8-2f83c01f6391",
"50263f55-8b4a-eb55-9717-96dc1adc2df1",
"24a7a35b-6026-815b-a886-6f1f0f0e65e5",
"3b3c514e-5b5a-559b-6200-d295543bb1cb"
],
"owner": "649049",
"sharedWithTeam": false,
"shared": false,
"synced": true,
"subscribed": false,
"updatedAt": 1472128555466,
"createdAt": 1472128555466,
"hasRequests": true,
"requests": [
{
"id": "24a7a35b-6026-815b-a886-6f1f0f0e65e5",
"url": "https://echo.paw.cloud/string-ref/technologies?utm_target=paw.cloud",
"method": "POST",
"collectionId": "66854a03-55b0-7499-114b-236f124f8555",
"name": "String Reference Body Request",
"description": "",
"headers": "Content-Type: text/plain; charset=utf-8\n",
"dataMode": "raw",
"data": "42",
"owner": "649049",
"preRequestScript": "",
"tests": ""
},
{
"id": "351b55b4-78f8-6c0a-1d79-7228b5fdb040",
"url": "https://echo.paw.cloud/jsf-body/web services?utm_target=luckymarmot.com",
"method": "POST",
"collectionId": "66854a03-55b0-7499-114b-236f124f8555",
"name": "JSF Body Request",
"description": "",
"headers": "Content-Type: text/plain; charset=utf-8\n",
"dataMode": "raw",
"data": "{{User}}",
"owner": "649049",
"preRequestScript": "",
"tests": ""
},
{
"id": "3b3c514e-5b5a-559b-6200-d295543bb1cb",
"url": "https://echo.paw.cloud/jsp-ref/methodologies?utm_target=paw.cloud",
"method": "POST",
"collectionId": "66854a03-55b0-7499-114b-236f124f8555",
"name": "JSON Pointer String Reference Body Request",
"description": "",
"headers": "Content-Type: text/plain; charset=utf-8\n",
"dataMode": "raw",
"data": "stringId=42",
"owner": "649049",
"preRequestScript": "",
"tests": ""
},
{
"id": "50263f55-8b4a-eb55-9717-96dc1adc2df1",
"url": "https://echo.paw.cloud/nonce-body/vortals?utm_target=luckymarmot.com",
"method": "POST",
"collectionId": "66854a03-55b0-7499-114b-236f124f8555",
"name": "Nonce Body Request",
"description": "",
"headers": "Content-Type: text/plain; charset=utf-8\n",
"dataMode": "raw",
"data": "E05CCC78CB75C50B",
"owner": "649049",
"preRequestScript": "",
"tests": ""
},
{
"id": "b807f5ac-8f2d-a9f4-3fae-9db65be58950",
"url": "https://echo.paw.cloud/overall/architectures?utm_target=paw.cloud",
"method": "POST",
"collectionId": "66854a03-55b0-7499-114b-236f124f8555",
"name": "Overall Request",
"description": "Hey there, this is a description for this request",
"headers": "Content-Type: application/x-www-form-urlencoded; charset=utf-8\n",
"dataMode": "urlencoded",
"data": [
{
"key": "default",
"value": "example",
"type": "string",
"enabled": true
},
{
"key": "type",
"value": "string1243",
"type": "string",
"enabled": true
},
{
"key": "pet",
"value": "{{pet}}",
"type": "object",
"enabled": true
},
{
"key": "user",
"value": "{{user}}",
"type": "object",
"enabled": true
}
],
"owner": "649049",
"preRequestScript": "",
"tests": ""
},
{
"id": "cfc78583-12f9-1cc2-3dc8-2f83c01f6391",
"url": "https://echo.getpostman.com/postman/web services?utm_target=paw.cloud",
"method": "POST",
"collectionId": "66854a03-55b0-7499-114b-236f124f8555",
"name": "Postman Host",
"description": "",
"headers": "Content-Type: text/plain; charset=utf-8\n",
"dataMode": "raw",
"data": "{{Pet}}",
"owner": "649049",
"preRequestScript": "",
"tests": ""
},
{
"id": "da34fbd4-fd36-7ca6-bc49-9ae6ecbc75fe",
"url": "https://echo.paw.cloud/overall/infrastructures?utm_target=paw.cloud",
"method": "POST",
"collectionId": "66854a03-55b0-7499-114b-236f124f8555",
"name": "Overall Request Duplicate",
"description": "Hey there, this is a description for this request",
"headers": "Content-Type: application/x-www-form-urlencoded; charset=utf-8\n",
"dataMode": "urlencoded",
"data": [
{
"key": "default",
"value": "example",
"type": "string",
"enabled": true
},
{
"key": "type",
"value": "string1243",
"type": "string",
"enabled": true
},
{
"key": "pet",
"value": "{{pet}}",
"type": "object",
"enabled": true
},
{
"key": "user",
"value": "{{user}}",
"type": "object",
"enabled": true
}
],
"owner": "649049",
"preRequestScript": "",
"tests": ""
}
]
},
{
"favoriters": [],
"owner": "649049",
"lastUpdatedBy": "649049",
"lastRevision": 299761779,
"team": null,
"id": "a574f7d2-dd4b-b2f8-fc35-67745fde2035",
"name": "Postman Echo",
"description": "Postman Echo is service you can use to test your REST clients and make sample API calls. It provides endpoints for `GET`, `POST`, `PUT`, various auth mechanisms and other utility endpoints.\n\nThe documentation for the endpoints as well as example responses can be found at [https://echo.getpostman.com](https://echo.getpostman.com?source=echo-collection-app-onboarding)",
"remote_id": "0",
"remoteLink": null,
"order": [],
"shared": false,
"write": true,
"createdAt": 1469634212303,
"updatedAt": 1469634212303,
"folders": [
{
"owner": "649049",
"lastUpdatedBy": "649049",
"lastRevision": 299761887,
"collection": "a574f7d2-dd4b-b2f8-fc35-67745fde2035",
"id": "007ffe62-ea97-30e2-c33b-4abb880a3194",
"name": "Content-Type: form-data",
"description": "",
"order": [
"6d8eb072-b6b1-ff07-f5e0-80159165c6ef",
"01d2d0f1-8f0b-4e02-70db-c58242ac63be",
"e4238148-05d8-1497-72f4-5c6ec5949312",
"dc2ba161-7f11-a6c1-197e-589853e3beb8"
],
"createdAt": "2016-06-07T12:31:58.000Z",
"updatedAt": "2016-06-07T12:31:58.000Z"
},
{
"owner": "649049",
"lastUpdatedBy": "649049",
"lastRevision": 299761896,
"collection": "a574f7d2-dd4b-b2f8-fc35-67745fde2035",
"id": "57724c02-9193-6371-be69-47a6577ab7ea",
"name": "Cookies",
"description": "The cookie related endpoints allow one to get, set and delete simple cookies.\n\nCookies are small snippets of information that is stored in the browser and sent back to the server with every subsequent requests in order to store useful information between requests.\nIf you want to know more about cookies, read the [HTTP Cookie](https://en.wikipedia.org/wiki/HTTP_cookie) article on wikipedia.",
"order": [
"1eac16bc-6b51-eaf2-3c5c-1a22c81e515a",
"7d7966ee-27d8-5b6b-0935-af33ee2904cc",
"2d2a0a29-52d1-0e96-596d-36d0be9db0e5"
],
"createdAt": "2016-06-07T12:31:58.000Z",
"updatedAt": "2016-06-07T12:31:59.000Z"
},
{
"owner": "649049",
"lastUpdatedBy": "649049",
"lastRevision": 299761884,
"collection": "a574f7d2-dd4b-b2f8-fc35-67745fde2035",
"id": "642c61c8-4e52-055a-966d-05e22bbebc3f",
"name": "Headers",
"description": "The following set of endpoints allow one to see the headers being sent as part of a request and to get a custom set of headers as part of response.\n\nHTTP header fields provide required information about the request or response, or about the object sent in the message body. Both request headers and response headers can be controlled using these endpoints.",
"order": [
"8d2ddde4-a57b-a526-c16f-3e39cd648ee1",
"6607ca3b-9753-d2fa-cb44-da6eba6b7998"
],
"createdAt": "2016-06-07T12:31:58.000Z",
"updatedAt": "2016-06-07T12:31:58.000Z"
},
{
"owner": "649049",
"lastUpdatedBy": "649049",
"lastRevision": 299761893,
"collection": "a574f7d2-dd4b-b2f8-fc35-67745fde2035",
"id": "80930df6-f23c-9ca6-3d44-0b66f7e22854",
"name": "Auth: Digest",
"description": "Digest authentication protects an endpoint with a username and password without actually transmitting the password over network.\nOne has to apply a hash function (like MD5, etc) to the username and password before sending them over the network.\n\n> Username: `postman`\n>\n> Password: `password`\n\nUnlike Basic-Auth, authentication happens using two consecutive requests where the first request returns `401 Unauthorised` along with `WWW-Authenticate` header containing information that needs to be used to authenticate subsequent calls.\n\nTo know more about digest authentication, refer to the [Digest Access Authentication](https://en.wikipedia.org/wiki/Digest_access_authentication) wikipedia article.\nThe article on [authentication helpers](https://www.getpostman.com/docs/helpers#digest-auth) elaborates how to use the same within the Postman app.",
"order": [
"712a184e-1d6d-5112-d3c8-7a5a72aa0dc1",
"d2416ee6-6f90-9919-973a-d8676802a825"
],
"createdAt": "2016-06-07T12:31:58.000Z",
"updatedAt": "2016-06-07T12:31:59.000Z"
},
{
"owner": "649049",
"lastUpdatedBy": "649049",
"lastRevision": 299761886,
"collection": "a574f7d2-dd4b-b2f8-fc35-67745fde2035",
"id": "8634adc8-c81f-3386-d60c-652b76608adf",
"name": "Utilities",
"description": "",
"order": [
"53db02be-3871-b8d6-21ce-854b5a766614",
"8a515950-6d32-c18b-0875-dfebb6e71120",
"89d49e0c-0330-1d2e-e9a2-a4899caa9998",
"2a8b08f0-9bf7-1ac5-05c0-340e9dc30003",
"5a11dd16-37f7-184a-63b4-2887dc516b03",
"ca4bbf15-88ee-210f-9b90-2b70007f2017"
],
"createdAt": "2016-06-07T12:31:58.000Z",
"updatedAt": "2016-06-07T12:31:58.000Z"
},
{
"owner": "649049",
"lastUpdatedBy": "649049",
"lastRevision": 299761885,
"collection": "a574f7d2-dd4b-b2f8-fc35-67745fde2035",
"id": "d60b287a-5743-ca2c-e1ac-ae15ff5d5848",
"name": "Request Methods",
"description": "HTTP has multiple request \"verbs\", such as `GET`, `PUT`, `POST`, `DELETE`,\n`PATCH`, `HEAD`, etc. \n\nAn HTTP Method (verb) defines how a request should be interpreted by a server. \nThe endpoints in this section demonstrate various HTTP Verbs. Postman supports \nall the HTTP Verbs, including some rarely used ones, such as `PROPFIND`, `UNLINK`, \netc.\n\nFor details about HTTP Verbs, refer to [RFC 2616](http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9)\n",
"order": [
"aaf015e3-3502-f198-7bf0-28ba581222c8",
"0c121fc9-8cb3-fb6d-1bd8-f7092c265a9c",
"2bb5c10e-d0b4-c30b-05bc-62d8af071c44",
"d76b2fe2-4a0d-952a-462d-7b7b53ef5fab",
"32623024-5c1b-3830-84b3-265748279939"
],
"createdAt": "2016-06-07T12:31:58.000Z",
"updatedAt": "2016-06-07T12:31:58.000Z"
},
{
"owner": "649049",
"lastUpdatedBy": "649049",
"lastRevision": 299761895,
"collection": "a574f7d2-dd4b-b2f8-fc35-67745fde2035",
"id": "fe7e3d6a-bed8-9f4d-3795-84c1b7e6c258",
"name": "Auth: Others",
"description": "",
"order": [
"ba4c6906-577e-423b-2313-9e1da2a6f68f",
"16dc1259-d80c-7cb7-fa0f-f12b4deb1135"
],
"createdAt": "2016-06-07T12:31:58.000Z",
"updatedAt": "2016-06-07T12:31:59.000Z"
}
],
"favorite": false,
"subscribed": false,
"sharedWithTeam": false,
"hasRequests": true,
"synced": true,
"requests": [
{
"owner": "649049",
"lastUpdatedBy": "649049",
"lastRevision": 299761843,
"folder": "007ffe62-ea97-30e2-c33b-4abb880a3194",
"collection": "a574f7d2-dd4b-b2f8-fc35-67745fde2035",
"id": "01d2d0f1-8f0b-4e02-70db-c58242ac63be",
"name": "formdata w/ header provided (500)",
"dataMode": "params",
"data": [
{
"key": "file",
"value": "hellno",
"type": "text",
"enabled": true
},
{
"key": "other",
"value": "value",
"type": "text",
"enabled": true
}
],
"rawModeData": null,
"descriptionFormat": null,
"description": "",
"headers": "Content-Type: multipart/form-data\n",
"method": "POST",
"pathVariables": {},
"url": "https://echo.getpostman.com/post",
"preRequestScript": null,
"tests": null,
"currentHelper": "normal",
"helperAttributes": "{}",
"createdAt": "2016-06-07T12:31:58.000Z",
"updatedAt": "2016-06-07T12:31:58.000Z",
"responses": [],
"collectionId": "a574f7d2-dd4b-b2f8-fc35-67745fde2035"
},
{
"owner": "649049",
"lastUpdatedBy": "649049",
"lastRevision": 305051264,
"folder": "d60b287a-5743-ca2c-e1ac-ae15ff5d5848",
"collection": "a574f7d2-dd4b-b2f8-fc35-67745fde2035",
"id": "0c121fc9-8cb3-fb6d-1bd8-f7092c265a9c",
"name": "POST Request",
"dataMode": "raw",
"data": "{{tuto}}",
"rawModeData": "{{tuto}}",
"descriptionFormat": null,
"description": "The HTTP `POST` request method is meant to transfer data to a server \n(and elicit a response). What data is returned depends on the implementation\nof the server.\n\nA `POST` request can pass parameters to the server using \"Query String \nParameters\", as well as the Request Body. For example, in the following request,\n\n> POST /hi/there?hand=wave\n>\n> <request-body>\n\nThe parameter \"hand\" has the value \"wave\". The request body can be in multiple\nformats. These formats are defined by the MIME type of the request. The MIME \nType can be set using the ``Content-Type`` HTTP header. The most commonly used \nMIME types are:\n\n* `multipart/form-data`\n* `application/x-www-form-urlencoded`\n* `application/json`\n\nThis endpoint echoes the HTTP headers, request parameters, the contents of\nthe request body and the complete URI requested.",
"headers": "Content-Type: text/plain\n",
"method": "POST",
"pathVariables": {},
"url": "https://echo.getpostman.com/post",
"preRequestScript": "",
"tests": "var responseJSON;\n\ntry { responseJSON = JSON.parse(responseBody); }\ncatch (e) { }\n\n\ntests[\"response has data\"] = responseJSON && responseJSON.data && (responseJSON.data.length === 256);\ntests[\"content-type equals text/plain\"] = responseJSON && responseJSON.headers && (responseJSON.headers[\"content-type\"] === 'text/plain');",
"currentHelper": "normal",
"helperAttributes": "{}",
"createdAt": "2016-06-07T12:31:58.000Z",
"updatedAt": "2016-06-09T09:51:46.000Z",
"responses": [],
"collectionId": "a574f7d2-dd4b-b2f8-fc35-67745fde2035"
},
{
"owner": "649049",
"lastUpdatedBy": "649049",
"lastRevision": 299761826,
"folder": "fe7e3d6a-bed8-9f4d-3795-84c1b7e6c258",
"collection": "a574f7d2-dd4b-b2f8-fc35-67745fde2035",
"id": "16dc1259-d80c-7cb7-fa0f-f12b4deb1135",
"name": "OAuth1.0 Verify Signature",
"dataMode": "params",
"data": [
{
"key": "code",
"value": "xWnkliVQJURqB2x1",
"type": "text",
"enabled": true
},
{
"key": "grant_type",
"value": "authorization_code",
"type": "text",
"enabled": true
},
{
"key": "redirect_uri",
"value": "https://www.getpostman.com/oauth2/callback",
"type": "text",
"enabled": true
},
{
"key": "client_id",
"value": "abc123",
"type": "text",
"enabled": true
},
{
"key": "client_secret",
"value": "ssh-secret",
"type": "text",
"enabled": true
}
],
"rawModeData": null,
"descriptionFormat": null,
"description": "OAuth1.0a is a specification that defines a protocol that can be used by one\nservice to access \"protected\" resources (endpoints) on another service. A\nmajor part of OAuth1.0 is HTTP Request Signing. This endpoint allows you to \ncheck whether the request calculation works properly in the client. \n\nThe endpoint supports the HTTP ``Authorization`` header. In case the signature\nverification fails, the endpoint provides the four debug values,\n\n* ``base_uri``\n* ``normalized_param_string``\n* ``base_string``\n* ``signing_key``\n\nFor more details about these parameters, check the [OAuth1.0a Specification](http://oauth.net/core/1.0a/)\n\nIn order to use this endpoint, you can set the following values:\n\n> Consumer Key: ``RKCGzna7bv9YD57c``\n>\n> Consumer Secret: ``D+EdQ-gs$-%@2Nu7``\n\nIf you are using Postman, also check the \"Add params to header\" and \n\"Auto add parameters\" boxes.",
"headers": "Authorization: OAuth oauth_consumer_key=\"RKCGzna7bv9YD57c\",oauth_signature_method=\"HMAC-SHA1\",oauth_timestamp=\"1442394747\",oauth_nonce=\"UIGipk\",oauth_version=\"1.0\",oauth_signature=\"CaeyGPr2mns1WCq4Cpm5aLvz6Gs=\"\n",
"method": "GET",
"pathVariables": {},
"url": "https://echo.getpostman.com/oauth1",
"preRequestScript": "",
"tests": "tests[\"response code is 200\"] = responseCode.code === 200;\nvar body = JSON.parse(responseBody);\ntests[\"Body contains status pass\"] = body[\"status\"] == \"pass\"",
"currentHelper": "normal",
"helperAttributes": "{}",
"createdAt": "2016-06-07T12:31:58.000Z",
"updatedAt": "2016-06-07T12:31:58.000Z",
"responses": [],
"collectionId": "a574f7d2-dd4b-b2f8-fc35-67745fde2035"
},
{
"owner": "649049",
"lastUpdatedBy": "649049",
"lastRevision": 299761829,
"folder": "57724c02-9193-6371-be69-47a6577ab7ea",
"collection": "a574f7d2-dd4b-b2f8-fc35-67745fde2035",
"id": "1eac16bc-6b51-eaf2-3c5c-1a22c81e515a",
"name": "Set Cookies",
"dataMode": "params",
"data": [],
"rawModeData": null,
"descriptionFormat": null,
"description": "The cookie setter endpoint accepts a list of cookies and their values as part of URL parameters of a `GET` request. These cookies are saved and can be subsequently retrieved or deleted. The response of this request returns a JSON with all cookies listed.\n\nTo set your own set of cookies, simply replace the URL parameters \"foo1=bar1&foo2=bar2\" with your own set of key-value pairs.",
"headers": "",
"method": "GET",
"pathVariables": {},
"url": "https://echo.getpostman.com/cookies/set?foo1=bar1&foo2=bar2",
"preRequestScript": "",
"tests": "var responseJSON;\ntry {\n tests[\"Body contains cookies\"] = responseBody.has(\"cookies\");\n responseJSON = JSON.parse(responseBody);\n tests[\"Body contains cookie foo1\"] = 'foo1' in responseJSON.cookies;\n tests[\"Body contains cookie foo2\"] = 'foo2' in responseJSON.cookies; \n}\ncatch (e) { }\n\ntests[\"Status code is 200\"] = responseCode.code === 200;\n\n",
"currentHelper": "normal",
"helperAttributes": "{}",
"createdAt": "2016-06-07T12:31:58.000Z",
"updatedAt": "2016-06-07T12:31:58.000Z",
"responses": [
{
"owner": "649049",
"lastUpdatedBy": "649049",
"lastRevision": 299761883,
"request": "1eac16bc-6b51-eaf2-3c5c-1a22c81e515a",
"id": "8c8e2fbc-2468-aa3b-0148-d3f2f018331e",
"name": "Cookies",
"status": "",
"responseCode": {
"code": 200,
"name": "OK"
},
"time": "3063",
"headers": [
{
"name": "Access-Control-Allow-Credentials",
"key": "Access-Control-Allow-Credentials",
"value": "",
"description": ""
},
{
"name": "Access-Control-Allow-Headers",
"key": "Access-Control-Allow-Headers",
"value": "",
"description": ""
},
{
"name": "Access-Control-Allow-Methods",
"key": "Access-Control-Allow-Methods",
"value": "",
"description": ""
},
{
"name": "Access-Control-Allow-Origin",
"key": "Access-Control-Allow-Origin",
"value": "",
"description": ""
},
{
"name": "Connection",
"key": "Connection",
"value": "keep-alive",
"description": ""
},
{
"name": "Content-Encoding",
"key": "Content-Encoding",
"value": "gzip",
"description": ""
},
{
"name": "Content-Length",
"key": "Content-Length",
"value": "51",
"description": ""
},
{
"name": "Content-Type",
"key": "Content-Type",
"value": "application/json; charset=utf-8",
"description": ""
},
{
"name": "Date",
"key": "Date",
"value": "Thu, 29 Oct 2015 06:15:28 GMT",
"description": ""
},
{
"name": "Server",
"key": "Server",
"value": "nginx/1.6.2",
"description": ""
},
{
"name": "Vary",
"key": "Vary",
"value": "Accept-Encoding",
"description": ""
},
{
"name": "X-Powered-By",
"key": "X-Powered-By",
"value": "Sails <sailsjs.org>",
"description": ""
}
],
"cookies": [],
"mime": "",
"text": "{\"cookies\":{\"foo1\":\"bar\",\"foo2\":\"bar\"}}",
"language": "javascript",
"rawDataType": "text",
"state": {
"size": "normal"
},
"previewType": "html",
"searchResultScrolledTo": "-1",
"version": null,
"requestObject": "\"96a24790-4951-ba7e-aa4f-fb40a45a7fcb\"",
"createdAt": "2016-06-07T12:31:58.000Z",
"updatedAt": "2016-06-07T12:31:58.000Z"
}
],
"collectionId": "a574f7d2-dd4b-b2f8-fc35-67745fde2035"
},
{
"owner": "649049",
"lastUpdatedBy": "649049",
"lastRevision": 299761840,
"folder": "8634adc8-c81f-3386-d60c-652b76608adf",
"collection": "a574f7d2-dd4b-b2f8-fc35-67745fde2035",
"id": "2a8b08f0-9bf7-1ac5-05c0-340e9dc30003",
"name": "Get UTF8 Encoded Response",
"dataMode": "params",
"data": [],
"rawModeData": null,
"descriptionFormat": null,
"description": "If a response of an endpoint requires to send data beyond the basic English / ASCII character set, the `charset` parameter in the `Content-Type` response header defines the character encoding policy.\n\nThis endpoint returns an `UTF8` character encoded response body with text in various languages such as Greek, Latin, East Asian, etc. Postman can interpret the character encoding and use appropriate methods to display the character set in responses.",
"headers": "",
"method": "GET",
"pathVariables": {},
"url": "https://echo.getpostman.com/encoding/utf8",
"preRequestScript": "",
"tests": "tests[\"response code is 200\"] = responseCode.code === 200;",
"currentHelper": "normal",
"helperAttributes": "{}",
"createdAt": "2016-06-07T12:31:58.000Z",
"updatedAt": "2016-06-07T12:31:58.000Z",
"responses": [],
"collectionId": "a574f7d2-dd4b-b2f8-fc35-67745fde2035"
},
{
"owner": "649049",
"lastUpdatedBy": "649049",
"lastRevision": 299761836,
"folder": "d60b287a-5743-ca2c-e1ac-ae15ff5d5848",
"collection": "a574f7d2-dd4b-b2f8-fc35-67745fde2035",
"id": "2bb5c10e-d0b4-c30b-05bc-62d8af071c44",
"name": "PUT Request",
"dataMode": "raw",
"data": "Etiam mi lacus, cursus vitae felis et, blandit pellentesque neque. Vestibulum eget nisi a tortor commodo dignissim.\nQuisque ipsum ligula, faucibus a felis a, commodo elementum nisl. Mauris vulputate sapien et tincidunt viverra. Donec vitae velit nec metus.",
"rawModeData": "Etiam mi lacus, cursus vitae felis et, blandit pellentesque neque. Vestibulum eget nisi a tortor commodo dignissim.\nQuisque ipsum ligula, faucibus a felis a, commodo elementum nisl. Mauris vulputate sapien et tincidunt viverra. Donec vitae velit nec metus.",
"descriptionFormat": null,
"description": "The HTTP `PUT` request method is similar to HTTP `POST`. It too is meant to \ntransfer data to a server (and elicit a response). What data is returned depends on the implementation\nof the server.\n\nA `PUT` request can pass parameters to the server using \"Query String \nParameters\", as well as the Request Body. For example, in the following \nraw HTTP request,\n\n> PUT /hi/there?hand=wave\n>\n> <request-body>\n\n\n",
"headers": "",
"method": "PUT",
"pathVariables": {},
"url": "https://echo.getpostman.com/put",
"preRequestScript": "",
"tests": "var data;\n\ntry { responseJSON = JSON.parse(responseBody); }\ncatch (e) {}\n\ntests[\"Body contains files\"] = responseBody.has(\"files\");\ntests[\"Body contains args\"] = responseBody.has(\"args\");\ntests[\"Body contains form\"] = responseBody.has(\"form\");\ntests[\"Body contains headers\"] = responseBody.has(\"headers\");\ntests[\"Body contains url\"] = responseBody.has(\"url\");\n\n\n\ntests[\"Data has been passed\"] = (responseJSON && responseJSON.data && responseJSON.data.length)",
"currentHelper": "normal",
"helperAttributes": "{}",
"createdAt": "2016-06-07T12:31:58.000Z",
"updatedAt": "2016-06-07T12:31:58.000Z",
"responses": [],
"collectionId": "a574f7d2-dd4b-b2f8-fc35-67745fde2035"
},
{
"owner": "649049",
"lastUpdatedBy": "649049",
"lastRevision": 299761827,
"folder": "57724c02-9193-6371-be69-47a6577ab7ea",
"collection": "a574f7d2-dd4b-b2f8-fc35-67745fde2035",
"id": "2d2a0a29-52d1-0e96-596d-36d0be9db0e5",
"name": "Get Cookies",
"dataMode": "params",
"data": [],
"rawModeData": null,
"descriptionFormat": null,
"description": "Use this endpoint to get a list of all cookies that are stored with respect to this domain. Whatever key-value pairs that has been previously set by calling the \"Set Cookies\" endpoint, will be returned as response JSON.",
"headers": "",
"method": "GET",
"pathVariables": {},
"url": "https://echo.getpostman.com/cookies",
"preRequestScript": "",
"tests": "var responseJSON;\ntry {\n tests[\"Body contains cookies\"] = responseBody.has(\"cookies\");\n responseJSON = JSON.parse(responseBody);\n tests[\"Cookies object is empty\"] = (Object.keys(responseJSON.cookies).length === 0)\n}\ncatch (e) { }\n\ntests[\"Status code is 200\"] = responseCode.code === 200;\n",
"currentHelper": "normal",
"helperAttributes": "{}",
"createdAt": "2016-06-07T12:31:58.000Z",
"updatedAt": "2016-06-07T12:31:58.000Z",
"responses": [
{
"owner": "649049",
"lastUpdatedBy": "649049",
"lastRevision": 299761880,
"request": "2d2a0a29-52d1-0e96-596d-36d0be9db0e5",
"id": "33d9c09f-0cae-3c1b-181a-6b0feb3ef79a",
"name": "Cookies",
"status": "",
"responseCode": {
"code": 200,
"name": "OK"
},
"time": "462",
"headers": [
{
"name": "Access-Control-Allow-Credentials",
"key": "Access-Control-Allow-Credentials",
"value": "",
"description": ""
},
{
"name": "Access-Control-Allow-Headers",
"key": "Access-Control-Allow-Headers",
"value": "",
"description": ""
},
{
"name": "Access-Control-Allow-Methods",
"key": "Access-Control-Allow-Methods",
"value": "",
"description": ""
},
{
"name": "Access-Control-Allow-Origin",
"key": "Access-Control-Allow-Origin",
"value": "",
"description": ""
},
{
"name": "Connection",
"key": "Connection",
"value": "keep-alive",
"description": ""
},
{
"name": "Content-Encoding",
"key": "Content-Encoding",
"value": "gzip",
"description": ""
},
{
"name": "Content-Length",
"key": "Content-Length",
"value": "46",
"description": ""
},
{
"name": "Content-Type",
"key": "Content-Type",
"value": "application/json; charset=utf-8",
"description": ""
},
{
"name": "Date",
"key": "Date",
"value": "Thu, 29 Oct 2015 06:16:29 GMT",
"description": ""
},
{
"name": "Server",
"key": "Server",
"value": "nginx/1.6.2",
"description": ""
},
{
"name": "Vary",
"key": "Vary",
"value": "Accept-Encoding",
"description": ""
},
{
"name": "X-Powered-By",
"key": "X-Powered-By",
"value": "Sails <sailsjs.org>",
"description": ""
}
],
"cookies": [],
"mime": "",
"text": "{\"cookies\":{\"foo2\":\"bar\"}}",
"language": "javascript",
"rawDataType": "text",
"state": {
"size": "normal"
},
"previewType": "html",
"searchResultScrolledTo": "-1",
"version": null,
"requestObject": "\"4118ca21-f216-410f-510c-2d0e465022c5\"",
"createdAt": "2016-06-07T12:31:58.000Z",
"updatedAt": "2016-06-07T12:31:58.000Z"
}
],
"collectionId": "a574f7d2-dd4b-b2f8-fc35-67745fde2035"
},
{
"owner": "649049",
"lastUpdatedBy": "649049",
"lastRevision": 299761833,
"folder": "d60b287a-5743-ca2c-e1ac-ae15ff5d5848",
"collection": "a574f7d2-dd4b-b2f8-fc35-67745fde2035",
"id": "32623024-5c1b-3830-84b3-265748279939",
"name": "DELETE Request",
"dataMode": "raw",
"data": "Donec fermentum, nisi sed cursus eleifend, nulla tortor ultricies tellus, ut vehicula orci arcu ut velit. In volutpat egestas dapibus. \nMorbi condimentum vestibulum sapien. Etiam dignissim diam quis eros lobortis gravida vel lobortis est. Etiam gravida sed.",
"rawModeData": "Donec fermentum, nisi sed cursus eleifend, nulla tortor ultricies tellus, ut vehicula orci arcu ut velit. In volutpat egestas dapibus. \nMorbi condimentum vestibulum sapien. Etiam dignissim diam quis eros lobortis gravida vel lobortis est. Etiam gravida sed.",
"descriptionFormat": null,
"description": "The HTTP `DELETE` method is used to delete resources on a server. The exact\nuse of `DELETE` requests depends on the server implementation. In general, \n`DELETE` requests support both, Query String parameters as well as a Request \nBody.\n\nThis endpoint accepts an HTTP `DELETE` request and provides debug information\nsuch as the HTTP headers, Query String arguments, and the Request Body.",
"headers": "",
"method": "DELETE",
"pathVariables": {},
"url": "https://echo.getpostman.com/delete",
"preRequestScript": "",
"tests": "tests[\"Body contains files\"] = responseBody.has(\"files\");\ntests[\"Body contains args\"] = responseBody.has(\"args\");\ntests[\"Body contains form\"] = responseBody.has(\"form\");\ntests[\"Body contains headers\"] = responseBody.has(\"headers\");\ntests[\"Body contains url\"] = responseBody.has(\"url\");\n\nvar responseJSON;\n\ntry { responseJSON = JSON.parse(responseBody); }\ncatch (e) { }\n\ntests[\"Data has been passed\"] = (responseJSON && responseJSON.data && responseJSON.data.length)",
"currentHelper": "normal",
"helperAttributes": "{}",
"createdAt": "2016-06-07T12:31:58.000Z",
"updatedAt": "2016-06-07T12:31:58.000Z",
"responses": [],
"collectionId": "a574f7d2-dd4b-b2f8-fc35-67745fde2035"
},
{
"owner": "649049",
"lastUpdatedBy": "649049",
"lastRevision": 299761842,
"folder": "8634adc8-c81f-3386-d60c-652b76608adf",
"collection": "a574f7d2-dd4b-b2f8-fc35-67745fde2035",
"id": "53db02be-3871-b8d6-21ce-854b5a766614",
"name": "Response Status Code",
"dataMode": "params",
"data": [],
"rawModeData": null,
"descriptionFormat": null,
"description": "This endpoint allows one to instruct the server which status code to respond with.\n\nEvery response is accompanied by a status code. The status code provides a summary of the nature of response sent by the server. For example, a status code of `200` means everything is okay with the response and a code of `404` implies that the requested URL does not exist on server. \nA list of all valid HTTP status code can be found at the [List of Status Codes](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes) wikipedia article. When using Postman, the response status code is described for easy reference.\n\nNote that if an invalid status code is requested to be sent, the server returns a status code of `400 Bad Request`.",
"headers": "",
"method": "GET",
"pathVariables": {},
"url": "https://echo.getpostman.com/status/200",
"preRequestScript": "",
"tests": "var responseJSON;\ntry {\n responseJSON = JSON.parse(responseBody); \n tests[\"Status equals 200\"] = responseJSON.status === 200;\n}\ncatch (e) { }\ntests[\"Body contains status\"] = responseBody.has(\"status\");\n\n",
"currentHelper": "normal",
"helperAttributes": "{}",
"createdAt": "2016-06-07T12:31:58.000Z",
"updatedAt": "2016-06-07T12:31:58.000Z",
"responses": [],
"collectionId": "a574f7d2-dd4b-b2f8-fc35-67745fde2035"
},
{
"owner": "649049",
"lastUpdatedBy": "649049",
"lastRevision": 299761837,
"folder": "8634adc8-c81f-3386-d60c-652b76608adf",
"collection": "a574f7d2-dd4b-b2f8-fc35-67745fde2035",
"id": "5a11dd16-37f7-184a-63b4-2887dc516b03",
"name": "GZip Compressed Response",
"dataMode": "params",
"data": [],
"rawModeData": null,
"descriptionFormat": null,
"description": "This endpoint returns the response using [gzip compression algoritm](https://en.wikipedia.org/wiki/Gzip).\nThe uncompressed response is a JSON string containing the details of the request sent by the client. For this endpoint to work, one should request with `Accept-encoding` header containing `gzip` as part of its value. Postman supports gzip, deflate and SDCH decoding and automatically sends them as part of the request.\n\nHTTP Compression allows the server to send responses in a compressed format, which is uncompressed by the client before processing. This reduces network bandwidth consumption at the cost of increase in CPU usage.\nTo know more about this, refer the [HTTP Compression](https://en.wikipedia.org/wiki/HTTP_compression) wikipedia article.",
"headers": "",
"method": "GET",
"pathVariables": {},
"url": "https://echo.getpostman.com/gzip",
"preRequestScript": "",
"tests": "try {\n var data = JSON.parse(responseBody);\n tests[\"Body contains gzipped\"] = responseBody.has(\"gzipped\");\n tests[\"Body contains headers\"] = responseBody.has(\"headers\");\n tests[\"Body contains method\"] = responseBody.has(\"method\");\n}\ncatch(e) {\n console.log('Cannot parse response,probably not a JSON');\n}\ntests[\"response code is 200\"] = responseCode.code === 200;",
"currentHelper": "normal",
"helperAttributes": "{}",
"createdAt": "2016-06-07T12:31:58.000Z",
"updatedAt": "2016-06-07T12:31:58.000Z",
"responses": [],
"collectionId": "a574f7d2-dd4b-b2f8-fc35-67745fde2035"
},
{
"owner": "649049",
"lastUpdatedBy": "649049",
"lastRevision": 299761831,
"folder": "642c61c8-4e52-055a-966d-05e22bbebc3f",
"collection": "a574f7d2-dd4b-b2f8-fc35-67745fde2035",
"id": "6607ca3b-9753-d2fa-cb44-da6eba6b7998",
"name": "Response Headers",
"dataMode": "params",
"data": [],
"rawModeData": null,
"descriptionFormat": null,
"description": "This endpoint causes the server to send custom set of response headers. Providing header values as part of the URL parameters of a `GET` request to this endpoint returns the same as part of response header.\n\nTo send your own set of headers, simply add or replace the the URL parameters with your own set.",
"headers": "",
"method": "GET",
"pathVariables": {},
"url": "https://echo.getpostman.com/response-headers?Content-Type=text/html&test=response_headers",
"preRequestScript": "",
"tests": "tests[\"Body contains Content-Type\"] = responseBody.has(\"Content-Type\");\ntests[\"response headers have key sent as part of request\"] = (postman.getResponseHeader('test') == 'response_headers')",
"currentHelper": "normal",
"helperAttributes": "{}",
"createdAt": "2016-06-07T12:31:58.000Z",
"updatedAt": "2016-06-07T12:31:58.000Z",
"responses": [],
"collectionId": "a574f7d2-dd4b-b2f8-fc35-67745fde2035"
},
{
"owner": "649049",
"lastUpdatedBy": "649049",
"lastRevision": 299761846,
"folder": "007ffe62-ea97-30e2-c33b-4abb880a3194",
"collection": "a574f7d2-dd4b-b2f8-fc35-67745fde2035",
"id": "6d8eb072-b6b1-ff07-f5e0-80159165c6ef",
"name": "urlencoded w/ header provided (200)",
"dataMode": "urlencoded",
"data": [
{
"key": "type",
"value": "file",
"type": "text",
"enabled": true
},
{
"key": "data",
"value": "Lorem Ipsum",
"type": "text",
"enabled": true
}
],
"rawModeData": null,
"descriptionFormat": "html",
"description": "",
"headers": "Content-Type: application/x-www-form-urlencoded\n",
"method": "POST",
"pathVariables": {},
"url": "https://echo.getpostman.com/post",
"preRequestScript": null,
"tests": null,
"currentHelper": "normal",
"helperAttributes": "{}",
"createdAt": "2016-06-07T12:31:58.000Z",
"updatedAt": "2016-06-07T12:31:58.000Z",
"responses": [],
"collectionId": "a574f7d2-dd4b-b2f8-fc35-67745fde2035"
},
{
"owner": "649049",
"lastUpdatedBy": "649049",
"lastRevision": 299761824,
"folder": "80930df6-f23c-9ca6-3d44-0b66f7e22854",
"collection": "a574f7d2-dd4b-b2f8-fc35-67745fde2035",
"id": "712a184e-1d6d-5112-d3c8-7a5a72aa0dc1",
"name": "DigestAuth Request",
"dataMode": "params",
"data": [
{
"key": "code",
"value": "xWnkliVQJURqB2x1",
"type": "text",
"enabled": true
},
{
"key": "grant_type",
"value": "authorization_code",
"type": "text",
"enabled": true
},
{
"key": "redirect_uri",
"value": "https://www.getpostman.com/oauth2/callback",
"type": "text",
"enabled": true
},
{
"key": "client_id",
"value": "abc123",
"type": "text",
"enabled": true
},
{
"key": "client_secret",
"value": "ssh-secret",
"type": "text",
"enabled": true
}
],
"rawModeData": null,
"descriptionFormat": null,
"description": "Performing a simple `GET` request to this endpoint returns status code `401 Unauthorized` with `WWW-Authenticate` header containing information to successfully authenticate subsequent requests.\nThe `WWW-Authenticate` header must be processed to extract `realm` and `nonce` values to hash subsequent requests.\n\nWhen this request is executed within Postman, the script attached with this request does the hard work of extracting realm and nonce from the header and set it as [global variables](https://www.getpostman.com/docs/environments#global-variables?source=echo-collection-app-onboarding) named `echo_digest_nonce` and `echo_digest_realm`.\nThese variables are re-used in subsequent request for seamless integration of the two requests.",
"headers": "",
"method": "GET",
"pathVariables": {},
"url": "https://echo.getpostman.com/digest-auth",
"preRequestScript": "",
"tests": "tests[\"response code is 401\"] = responseCode.code === 401;\ntests[\"response has WWW-Authenticate header\"] = (postman.getResponseHeader('WWW-Authenticate'));\n\nvar authenticateHeader = postman.getResponseHeader('WWW-Authenticate'),\n realmStart = authenticateHeader.indexOf('\"',authenticateHeader.indexOf(\"realm\")) + 1 ,\n realmEnd = authenticateHeader.indexOf('\"',realmStart),\n realm = authenticateHeader.slice(realmStart,realmEnd),\n nonceStart = authenticateHeader.indexOf('\"',authenticateHeader.indexOf(\"nonce\")) + 1,\n nonceEnd = authenticateHeader.indexOf('\"',nonceStart),\n nonce = authenticateHeader.slice(nonceStart,nonceEnd);\n \npostman.setGlobalVariable('echo_digest_realm', realm);\npostman.setGlobalVariable('echo_digest_nonce', nonce);",
"currentHelper": "normal",
"helperAttributes": "{}",
"createdAt": "2016-06-07T12:31:58.000Z",
"updatedAt": "2016-06-07T12:31:58.000Z",
"responses": [],
"collectionId": "a574f7d2-dd4b-b2f8-fc35-67745fde2035"
},
{
"owner": "649049",
"lastUpdatedBy": "649049",
"lastRevision": 299761828,
"folder": "57724c02-9193-6371-be69-47a6577ab7ea",
"collection": "a574f7d2-dd4b-b2f8-fc35-67745fde2035",
"id": "7d7966ee-27d8-5b6b-0935-af33ee2904cc",
"name": "Delete Cookies",
"dataMode": "params",
"data": [],
"rawModeData": null,
"descriptionFormat": null,
"description": "One or more cookies that has been set for this domain can be deleted by providing the cookie names as part of the URL parameter. The response of this request is a JSON containing the list of currently set cookies.",
"headers": "",
"method": "GET",
"pathVariables": {},
"url": "https://echo.getpostman.com/cookies/delete?foo1&foo2",
"preRequestScript": "",
"tests": "var responseJSON;\ntry {\n tests[\"Body contains cookies\"] = responseBody.has(\"cookies\");\n responseJSON = JSON.parse(responseBody);\n tests[\"Body contains cookie foo2\"] = !('foo2' in responseJSON.cookies);\n tests[\"Body does not contain cookie foo2\"] = !('foo1' in responseJSON.cookies);\n}\ncatch (e) { }\n\ntests[\"Status code is 200\"] = responseCode.code === 200;\n",
"currentHelper": "normal",
"helperAttributes": "{}",
"createdAt": "2016-06-07T12:31:58.000Z",
"updatedAt": "2016-06-07T12:31:58.000Z",
"responses": [
{
"owner": "649049",
"lastUpdatedBy": "649049",
"lastRevision": 299761882,
"request": "7d7966ee-27d8-5b6b-0935-af33ee2904cc",
"id": "b1d589e3-f867-3c89-1062-c7fdae1d7368",
"name": "Cookies Response",
"status": "",
"responseCode": {
"code": 200,
"name": "OK"
},
"time": "1417",
"headers": [
{
"name": "Access-Control-Allow-Credentials",
"key": "Access-Control-Allow-Credentials",
"value": "",
"description": ""
},
{
"name": "Access-Control-Allow-Headers",
"key": "Access-Control-Allow-Headers",
"value": "",
"description": ""
},
{
"name": "Access-Control-Allow-Methods",
"key": "Access-Control-Allow-Methods",
"value": "",
"description": ""
},
{
"name": "Access-Control-Allow-Origin",
"key": "Access-Control-Allow-Origin",
"value": "",
"description": ""
},
{
"name": "Connection",
"key": "Connection",
"value": "keep-alive",
"description": ""
},
{
"name": "Content-Encoding",
"key": "Content-Encoding",
"value": "gzip",
"description": ""
},
{
"name": "Content-Length",
"key": "Content-Length",
"value": "46",
"description": ""
},
{
"name": "Content-Type",
"key": "Content-Type",
"value": "application/json; charset=utf-8",
"description": ""
},
{
"name": "Date",
"key": "Date",
"value": "Thu, 29 Oct 2015 06:16:00 GMT",
"description": ""
},
{
"name": "Server",
"key": "Server",
"value": "nginx/1.6.2",
"description": ""
},
{
"name": "Vary",
"key": "Vary",
"value": "Accept-Encoding",
"description": ""
},
{
"name": "X-Powered-By",
"key": "X-Powered-By",
"value": "Sails <sailsjs.org>",
"description": ""
}
],
"cookies": [],
"mime": "",
"text": "{\"cookies\":{\"foo2\":\"bar\"}}",
"language": "javascript",
"rawDataType": "text",
"state": {
"size": "normal"
},
"previewType": "html",
"searchResultScrolledTo": "-1",
"version": null,
"requestObject": "\"4ac1e980-6990-fc1d-5f80-4e5cedce9812\"",
"createdAt": "2016-06-07T12:31:58.000Z",
"updatedAt": "2016-06-07T12:31:58.000Z"
}
],
"collectionId": "a574f7d2-dd4b-b2f8-fc35-67745fde2035"
},
{
"owner": "649049",
"lastUpdatedBy": "649049",
"lastRevision": 299761841,
"folder": "8634adc8-c81f-3386-d60c-652b76608adf",
"collection": "a574f7d2-dd4b-b2f8-fc35-67745fde2035",
"id": "89d49e0c-0330-1d2e-e9a2-a4899caa9998",
"name": "Delay Response",
"dataMode": "params",
"data": [],
"rawModeData": null,
"descriptionFormat": null,
"description": "Using this endpoint one can configure how long it takes for the server to come back with a response. Appending a number to the URL defines the time (in seconds) the server will wait before responding.\n\nNote that a maximum delay of 10 seconds is accepted by the server.",
"headers": "",
"method": "GET",
"pathVariables": {},
"url": "https://echo.getpostman.com/delay/3",
"preRequestScript": "",
"tests": "var responseJSON;\ntry { \n responseJSON = JSON.parse(responseBody); \n tests[\"response body has key delay\"] = 'delay' in responseJSON;\n}\ncatch (e) { }\ntests[\"response code is 200\"] = responseCode.code === 200;\n",
"currentHelper": "normal",
"helperAttributes": "{}",
"createdAt": "2016-06-07T12:31:58.000Z",
"updatedAt": "2016-06-07T12:31:58.000Z",
"responses": [],
"collectionId": "a574f7d2-dd4b-b2f8-fc35-67745fde2035"
},
{
"owner": "649049",
"lastUpdatedBy": "649049",
"lastRevision": 299761839,
"folder": "8634adc8-c81f-3386-d60c-652b76608adf",
"collection": "a574f7d2-dd4b-b2f8-fc35-67745fde2035",
"id": "8a515950-6d32-c18b-0875-dfebb6e71120",
"name": "Streamed Response",
"dataMode": "params",
"data": [],
"rawModeData": null,
"descriptionFormat": null,
"description": "This endpoint allows one to recieve streaming http response using [chunked transfer encoding](https://en.wikipedia.org/wiki/Chunked_transfer_encoding) of a configurable length.\n\nA streaming response does not wait for the entire response to be generated on server before flushing it out. This implies that for a fairly large response, parts of it can be streamed to the requestee as and when it is generated on server. The client can then take actions of processing this partially received data.",
"headers": "",
"method": "GET",
"pathVariables": {},
"url": "https://echo.getpostman.com/stream/10",
"preRequestScript": "",
"tests": "tests[\"response code is 200\"] = responseCode.code === 200;\ntests[\"response is sent in chunks\"] = (postman.getResponseHeader('Transfer-Encoding') === 'chunked')\n",
"currentHelper": "normal",
"helperAttributes": "{}",
"createdAt": "2016-06-07T12:31:58.000Z",
"updatedAt": "2016-06-07T12:31:58.000Z",
"responses": [],
"collectionId": "a574f7d2-dd4b-b2f8-fc35-67745fde2035"
},
{
"owner": "649049",
"lastUpdatedBy": "649049",
"lastRevision": 299761830,
"folder": "642c61c8-4e52-055a-966d-05e22bbebc3f",
"collection": "a574f7d2-dd4b-b2f8-fc35-67745fde2035",
"id": "8d2ddde4-a57b-a526-c16f-3e39cd648ee1",
"name": "Request Headers",
"dataMode": "params",
"data": [],
"rawModeData": null,
"descriptionFormat": null,
"description": "A `GET` request to this endpoint returns the list of all request headers as part of the response JSON.\nIn Postman, sending your own set of headers through the [Headers tab](https://www.getpostman.com/docs/requests#headers?source=echo-collection-app-onboarding) will reveal the headers as part of the response.",
"headers": "my-sample-header: Lorem ipsum dolor sit amet\nsome-other-header: {{toto}}\n",
"method": "GET",
"pathVariables": {},
"url": "https://echo.getpostman.com/headers",
"preRequestScript": "",
"tests": "var responseJSON;\ntry {\n tests[\"Body contains headers\"] = responseBody.has(\"headers\");\n responseJSON = JSON.parse(responseBody);\n tests[\"Header contains host\"] = \"host\" in responseJSON.headers;\n tests[\"Header contains test parameter sent as part of request header\"] = \"my-sample-header\" in responseJSON.headers;\n}\ncatch (e) { }\n\n\n\n",
"currentHelper": "normal",
"helperAttributes": "{}",
"createdAt": "2016-06-07T12:31:58.000Z",
"updatedAt": "2016-06-07T12:31:58.000Z",
"responses": [],
"collectionId": "a574f7d2-dd4b-b2f8-fc35-67745fde2035"
},
{
"id": "aaf015e3-3502-f198-7bf0-28ba581222c8",
"owner": "649049",
"lastUpdatedBy": "649049",
"lastRevision": 445851728,
"folder": "d6