summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorleonoverweel <l.overweel@gmail.com>2017-04-01 21:44:43 +0200
committerleonoverweel <l.overweel@gmail.com>2017-04-01 21:44:43 +0200
commitba5d083eda8e73680588f802a57d9a71cc435d5a (patch)
tree32897bbbfc655fc2e02c8e7de145e3fc8d9be448
parent2162154a5152ea2acba40279befd58656846766a (diff)
Add OpenDC development Postman collection
-rw-r--r--OpenDC.postman_collection.json36
1 files changed, 36 insertions, 0 deletions
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