cyrestPOST: CyREST POST

View source: R/Commands.R

cyrestPOSTR Documentation

CyREST POST

Description

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.

Usage

cyrestPOST(
  operation,
  parameters = NULL,
  body = NULL,
  base.url = .defaultBaseUrl
)

Arguments

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.

Value

CyREST result content

Examples


cyrestPOST('networks/51/views')


cytoscape/RCy3 documentation built on April 7, 2024, 2:17 p.m.