create Session

@PostMapping
open fun <T> createSession(@RequestBody payload: Map<String, String>): T

Endpoint used to create a new session

Return

the response as T

Parameters

payload

The payload of the request


                             {
                                 "server_secret" : "the server secret used to protect the access to a private backend instance" -> [String],
                                 "password" : "the password used to protect the session accesses" -> [String]
                             }
                     
<T>

the type of the response