Fixed request data processing in post/put requests.