httpPUT: Simple high-level functions for HTTP PUT and DELETE
Description
These two functions are simple, high-level functions
that implement the HTTP request methods PUT and DELETE.
These can also be done by specifying the method
type using the curl option customrequest.
These functions merely provide a convenience
wrapper for getURLContent
with the HTTP method specified.
# create a database in a CouchDB server httpPUT("http://127.0.0.1:5984/temp_db")
# Then delete the database httpDELETE("http://127.0.0.1:5984/temp_db")