Skip to content

Instantly share code, notes, and snippets.

@ckrack
Created July 12, 2017 10:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ckrack/c11df46562b8163afae3f7b656354631 to your computer and use it in GitHub Desktop.
Save ckrack/c11df46562b8163afae3f7b656354631 to your computer and use it in GitHub Desktop.
iSpindel Public HTTP Postman Collection
{
"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