Description Usage Arguments Details Value Note See Also Examples
Generic DELETE query to API.
1 | ndex_rest_DELETE(ndexcon, route, raw = FALSE)
|
ndexcon |
object of class NDExConnection |
route |
Character (route to specific REST query) |
raw |
Specifies if server response should be returned in raw, or if jsonlite::fromJSON is called first. Defaults to FALSE. |
Simply execute HTTP DELETE on URL host/route and fetch whatever data REST server returns Making sure the route is well-formed is the job of calling function
JSON response from REST server, NULL if no valid JSON was received. if parameter raw is TRUE, the raw response is returned without a call to jsonlite::fromJSON.
This function is internal.
ndex_rest_GET
, ndex_rest_POST
, ndex_rest_PUT
and ndex_rest_DELETE
1 2 3 4 5 6 | ## Establish a server connection
ndexcon = ndex_connect()
## Not run:
ndex_rest_DELETE(ndexcon, "/networks/api")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.