From ba5d083eda8e73680588f802a57d9a71cc435d5a Mon Sep 17 00:00:00 2001 From: leonoverweel Date: Sat, 1 Apr 2017 21:44:43 +0200 Subject: Add OpenDC development Postman collection --- OpenDC.postman_collection.json | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 OpenDC.postman_collection.json diff --git a/OpenDC.postman_collection.json b/OpenDC.postman_collection.json new file mode 100644 index 00000000..71f1231c --- /dev/null +++ b/OpenDC.postman_collection.json @@ -0,0 +1,36 @@ +{ + "variables": [], + "info": { + "name": "OpenDC", + "_postman_id": "bd4d0e57-7918-dc69-3ead-6c19e20ab0b0", + "description": "Sample requests for developing the OpenDC API", + "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" + }, + "item": [ + { + "name": "Create New Simulation", + "request": { + "url": "localhost:8081/api/v1/simulations", + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "" + }, + { + "key": "auth-token", + "value": "PUT YOUR AUTH TOKEN HERE", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n\t\"simulation\": {\r\n\t\t\"name\": \"Simulation Name\"\r\n\t}\r\n}" + }, + "description": "" + }, + "response": [] + } + ] +} \ No newline at end of file -- cgit v1.2.3