Fixing #4641: Curl PUT request does not post request body