Description Usage Arguments Value See Also
Generic REST resource creation.
1 2 3 4 5 6 7 8 9 | rockr.post(
conn,
...,
query = list(),
body = "",
contentType = "application/x-rscript",
acceptType = "application/octet-stream, application/json",
callback = NULL
)
|
conn |
A rockr connection object. |
... |
Resource path segments. |
query |
Named list of query parameters. |
body |
The body of the request. |
contentType |
The type of the body content. Default is 'application/x-rscript'. |
acceptType |
The type of the body content. Default is 'application/octet-stream, application/json', i.e. a serialized R object or an error message. |
callback |
A callback function to handle the response object. |
The response output object.
Other REST functions:
rockr.delete()
,
rockr.get()
,
rockr.put()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.