send request to server