summaryrefslogtreecommitdiff
path: root/OpenDC.postman_collection.json
diff options
context:
space:
mode:
Diffstat (limited to 'OpenDC.postman_collection.json')
-rw-r--r--OpenDC.postman_collection.json29
1 files changed, 27 insertions, 2 deletions
diff --git a/OpenDC.postman_collection.json b/OpenDC.postman_collection.json
index 71f1231c..2fa03f58 100644
--- a/OpenDC.postman_collection.json
+++ b/OpenDC.postman_collection.json
@@ -2,7 +2,7 @@
"variables": [],
"info": {
"name": "OpenDC",
- "_postman_id": "bd4d0e57-7918-dc69-3ead-6c19e20ab0b0",
+ "_postman_id": "e8b68f59-29cb-71d0-6237-b22932c40f9c",
"description": "Sample requests for developing the OpenDC API",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
@@ -26,7 +26,32 @@
],
"body": {
"mode": "raw",
- "raw": "{\r\n\t\"simulation\": {\r\n\t\t\"name\": \"Simulation Name\"\r\n\t}\r\n}"
+ "raw": "{\r\n \"simulation\": {\r\n \"name\": \"Simulation Name\"\r\n }\r\n}"
+ },
+ "description": ""
+ },
+ "response": []
+ },
+ {
+ "name": "Create New User",
+ "request": {
+ "url": "localhost:8081/api/v1/users",
+ "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 \"user\": {\r\n \"email\": \"email@example.com\"\r\n }\r\n}"
},
"description": ""
},