auth_put_post_delete: POST, PUT, or DELETE a resource with authenticated...

Description Usage Arguments Value

Description

POST, PUT, or DELETE data to a URL using an HTTP request using authentication credentials provided in a client authentication, either via authentiction token or certificate. If the user does not have a valid token or certificate, request fails.

Usage

1
2
auth_put_post_delete(method, url, encode = "multipart", body = as.list(NA),
  node)

Arguments

method

a string indicating which HTTP method to use (post, put, or delete)

url

The URL to be accessed via authenticated PUT

encode

the type of encoding to use for the PUT body, defaults to 'multipart'

body

a list of data to be included in the body of the PUT request

node

The D1Node object that the request will be made to.

Value

the response object from the method



Search within the dataone package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.