Add Postman HTTP RESTful API testing collections

Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
This commit is contained in:
Drasko DRASKOVIC 2016-05-18 20:38:36 +02:00
parent b76461e773
commit f92db09290
1 changed files with 88 additions and 0 deletions

View File

@ -0,0 +1,88 @@
{
"id": "d9799076-e11c-8926-da5e-9092763cf5bb",
"name": "mainfluxHttp",
"description": "",
"order": [
"b27812bf-0e9b-7a20-102c-b901c535e35f",
"2609fa8b-e39b-5cd9-407e-81ff4d1124b7",
"c28e0d5b-b271-960b-6b41-f3c2b52670b1",
"887ad31c-2e30-f600-1035-68c38c11c3f7"
],
"folders": [],
"timestamp": 1463596373226,
"owner": "",
"remoteLink": "",
"public": false,
"requests": [
{
"id": "2609fa8b-e39b-5cd9-407e-81ff4d1124b7",
"url": "http://localhost:7070/devices/3686f6d0-1c68-11e6-8610-27f9510f1a02",
"method": "DELETE",
"headers": "Content-Type: application/json\n",
"data": null,
"dataMode": "params",
"tests": null,
"preRequestScript": null,
"currentHelper": "normal",
"pathVariables": {},
"version": 2,
"name": "http://localhost:7070/devices/3686f6d0-1c68-11e6-8610-27f9510f1a02",
"description": "",
"descriptionFormat": "html",
"collectionId": "d9799076-e11c-8926-da5e-9092763cf5bb"
},
{
"id": "887ad31c-2e30-f600-1035-68c38c11c3f7",
"url": "http://localhost:7070/devices",
"method": "POST",
"headers": "Content-Type: application/json\n",
"data": [],
"dataMode": "raw",
"tests": null,
"preRequestScript": null,
"currentHelper": "normal",
"pathVariables": {},
"version": 2,
"name": "http://localhost:7070/devices",
"description": "",
"descriptionFormat": "html",
"collectionId": "d9799076-e11c-8926-da5e-9092763cf5bb",
"rawModeData": "{\n \"deviceName\" : \"board01\",\n \"deviceType\" : \"weio\"\n}"
},
{
"id": "b27812bf-0e9b-7a20-102c-b901c535e35f",
"url": "http://localhost:7070/devices",
"method": "GET",
"headers": "Content-Type: application/json\n",
"data": null,
"dataMode": "params",
"tests": null,
"preRequestScript": null,
"currentHelper": "normal",
"pathVariables": {},
"version": 2,
"name": "http://localhost:7070/devices",
"description": "",
"descriptionFormat": "html",
"collectionId": "d9799076-e11c-8926-da5e-9092763cf5bb"
},
{
"id": "c28e0d5b-b271-960b-6b41-f3c2b52670b1",
"url": "http://localhost:7070/devices/3686f6d0-1c68-11e6-8610-27f9510f1a02",
"method": "PUT",
"headers": "Content-Type: application/json\n",
"data": [],
"dataMode": "raw",
"tests": null,
"preRequestScript": null,
"currentHelper": "normal",
"pathVariables": {},
"version": 2,
"name": "http://localhost:7070/devices/3686f6d0-1c68-11e6-8610-27f9510f1a02",
"description": "",
"descriptionFormat": "html",
"collectionId": "d9799076-e11c-8926-da5e-9092763cf5bb",
"rawModeData": "{\n \"deviceName\" : \"board05\",\n \"deviceType\" : \"ESP7766\",\n \"attributes\": [\n {\n \"temperature\": 15\n },\n {\n \"pressure\": 10\n \n }\n ]\n}\n"
}
]
}