Constructs the query and body, makes POST call and processes the result. The function check whether actual call is local or remote first. If remote, requests will go through Jupyter-Bridge.
cyrestPOST( operation, parameters = NULL, body = NULL, base.url = .defaultBaseUrl )
operation | A string to be converted to the REST query namespace |
---|---|
parameters | A named list of values to be converted to REST query parameters |
body | A named list of values to be converted to JSON |
base.url | (optional) Ignore unless you need to specify a custom domain, port or version to connect to the CyREST API. Default is http://localhost:1234 and the latest version of the CyREST API supported by this version of RCy3. |
CyREST result content
# \donttest{ cyrestPOST('networks/51/views') # }