Extended the HTTP API for performing PUT and DELETE requests.