Fixed bug with input data in PUT requests