powered by
Generic REST resource getter.
opal.get( opal, ..., query = list(), acceptType = "application/json", 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.
A callback function to handle the response object.
Other REST functions: opal.delete(), opal.post(), opal.put()
opal.delete()
opal.post()
opal.put()
# NOT RUN { o <- opal.login('administrator','password', url='https://opal-demo.obiba.org') opal.get(o, 'project', 'datashield') opal.logout(o) # }
Run the code above in your browser using DataLab