powered by
Generic REST resource update.
opal.put( opal, ..., query = list(), body = "", contentType = "application/x-rscript", callback = NULL )
Opal object.
Resource path segments.
Named list of query parameters.
The body of the request.
The type of the body content.
A callback function to handle the response object.
Other REST functions: opal.delete(), opal.get(), opal.post()
opal.delete()
opal.get()
opal.post()
if (FALSE) { o <- opal.login('administrator','password', url = 'https://opal-demo.obiba.org') opal.put(o, 'some', 'resource', 'toupdate', body = '{"some":"value"}') opal.logout(o) }
Run the code above in your browser using DataLab