Skip to content

Commit 73e6a29

Browse files
committed
Update README to add POST session calls
1 parent 5eaac5d commit 73e6a29

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎README.md‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,16 @@ Example response for GET http://localhost:8080/api/sessions/msk_portal/main_sess
266266
]
267267
```
268268

269+
### Create
270+
271+
#### POST http://localhost:8080/api/sessions/{source}/{type}
272+
Creates a session given the source, type, and the session data in the request body.
273+
Returns status 200 and the session data in the response body.
274+
275+
#### POST http://localhost:8080/api/sessions/{source}/{type}/{id}
276+
Creates a session given the source, type, custom id (you can give user readable names), and the session data in the request body.
277+
Returns status 200 and the session data in the response body.
278+
269279
### Update
270280

271281
#### PUT http://localhost:8080/api/sessions/{source}/{type}/{id}

0 commit comments

Comments
 (0)