Basic wrapper for an HTTP Put request. Creates the request, sends it, and returns the response.