Created
July 12, 2017 10:05
-
-
Save ckrack/c11df46562b8163afae3f7b656354631 to your computer and use it in GitHub Desktop.
iSpindel Public HTTP Postman Collection
This file contains hidden or 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
{ | |
"variables": [], | |
"info": { | |
"name": "iSpindel", | |
"_postman_id": "af976f38-adc5-d196-ca48-06087268481e", | |
"description": "iSpindel Universal HTTP API", | |
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" | |
}, | |
"item": [ | |
{ | |
"name": "iSpindel Universal HTTP", | |
"request": { | |
"url": "http://ispindel:PORT/api/v1/json", | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json", | |
"description": "" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\"name\": \"iSpindel01\", \"temperature\": 20.5, \"angle\": 89.5, \"battery\": 84}" | |
}, | |
"description": "Generated from a curl request: \ncurl -X POST -H \\\"Content-Type: application/json\\\" -d '{\\\"name\\\": \\\"iSpindel01\\\", \\\"temperature\\\": 20.5, \\\"angle\\\": 89.5, \\\"battery\\\": 84}' http://YOURSERVER:PORT/api/v1/json\n" | |
}, | |
"response": [] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment