auth_put_post_delete function

POST, PUT, or DELETE a resource with authenticated credentials.

POST, PUT, or DELETE a resource with authenticated credentials.

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

auth_put_post_delete(method, url, encode = "multipart", body = NULL, 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.

Returns

the response object from the method

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