diff options
| author | leonoverweel <l.overweel@gmail.com> | 2017-04-04 15:18:06 +0200 |
|---|---|---|
| committer | leonoverweel <l.overweel@gmail.com> | 2017-04-04 15:18:06 +0200 |
| commit | 2a4954077362d7b81a36a59580487972453180b4 (patch) | |
| tree | 67e35f5f903c8e097904b8df7164d4689c4843a1 /OpenDC.postman_collection.json | |
| parent | d1314ab6ae5feffd6ce97efc5c013581c1de3d0a (diff) | |
Add account setup to local setup guide in README
Diffstat (limited to 'OpenDC.postman_collection.json')
| -rw-r--r-- | OpenDC.postman_collection.json | 29 |
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": "" }, |
