Added the ability for the body of POST and PUT requests to be empty.