auth_put function

PUT a resource with authenticated credentials.

PUT a resource with authenticated credentials.

PUT data to a URL using an HTTP PUT request using authentication credentials provided in a client certificate. Authenticated access depends on the suggested openssl package. If the openssl package is not installed, then the request fails.

auth_put(url, encode = "multipart", body = NULL, node)

Arguments

  • 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.

Returns

the HTTP response from the request

  • Maintainer: Matthew B. Jones
  • License: Apache License 2.0
  • Last published: 2022-06-10