client: send request struct to server instead of "data".