request body was not being sent in client doRequest