| opal.post | R Documentation | 
Generic REST resource creation.
opal.post(
  opal,
  ...,
  query = list(),
  body = "",
  contentType = "application/x-rscript",
  acceptType = "application/json",
  outFile = NULL,
  callback = NULL
)
| opal | Opal 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/json', i.e. a serialized R object or an error message. | 
| outFile | Write response body to file. Ignored if NULL (default). | 
| callback | A callback function to handle the response object. | 
Other REST functions: 
opal.delete(),
opal.get(),
opal.put()
## Not run: 
o <- opal.login('administrator','password', url = 'https://opal-demo.obiba.org')
opal.post(o, 'some', 'resources', body = '{"some":"value"}')
opal.logout(o)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.