server answer to GET

Hi, I send some data to a server using the GET method. Do you know how can i be sure the server has recived information?
Sometimes it answers me 200 ok, i check out return values with this code:

while (client.available() ) {
serverAnswer=true;
char c = client.read();
Serial.print(c);
}

but I obtain something only sometimes.
Thanks!

Do you know how can i be sure the server has recived information?

The server will reply with a return code in every case. A 200 means that the data was received and understood (not necessarily dealt with properly). Any other return code means that there was a problem.

As far as knowing that the data was dealt with properly, that's up to you to make sure that the data that is returned by the called application includes some sort of information that indicates that the data was properly consumed, or not.

Thanks