@POST
    @Path("create")
    public Map<String, String> create(@FormParam("uri") String uri) 
            throws GuacamoleException {

        return Collections.singletonMap("identifier", directory.create(uri));
 
    }
Parse the URI read from the POST input, add the connection
to the directory, and return a Map containing a single key,
identifier, and the identifier of the new connection.

@param uri
    The URI to parse into a connection.

@return
    A Map containing a single key, identifier, and the
    identifier of the new connection.

@throws GuacamoleException
    If an error is encountered parsing the URI.
extensions/guacamole-auth-quickconnect/src/main/java/org/apache/guacamole/auth/quickconnect/rest/QuickConnectREST.java