powered by
Generic REST resource getter.
opal.get( opal, ..., query = list(), acceptType = "application/json", outFile = NULL, callback = NULL )
Opal object.
Resource path segments.
Named list of query parameters.
The type of the body content. Default is 'application/json', i.e. a serialized R object or an error message.
Write response body to file. Ignored if NULL (default).
A callback function to handle the response object.
Other REST functions: opal.delete(), opal.post(), opal.put()
opal.delete()
opal.post()
opal.put()
if (FALSE) { o <- opal.login('administrator','password', url = 'https://opal-demo.obiba.org') opal.get(o, 'project', 'CNSIM') opal.logout(o) }
Run the code above in your browser using DataLab