Added support for using PUT requests