Learn R Programming

crul (version 0.9.0)

verb-DELETE: HTTP verb info: DELETE

Description

The DELETE method deletes the specified resource.

Arguments

The DELETE method

The DELETE method requests that the origin server remove the association between the target resource and its current functionality. In effect, this method is similar to the rm command in UNIX: it expresses a deletion operation on the URI mapping of the origin server rather than an expectation that the previously associated information be deleted.

See https://tools.ietf.org/html/rfc7231#section-4.3.5 for further details.

References

https://tools.ietf.org/html/rfc7231#section-4.3.5

See Also

crul-package

Other verbs: verb-GET, verb-HEAD, verb-PATCH, verb-POST, verb-PUT

Examples

Run this code
# NOT RUN {
x <- HttpClient$new(url = "https://httpbin.org")
x$delete(path = 'delete')
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab