Concatenation of url

i want to send some data to my web page using GET METHOD. I am using a gsm shield and it works if put the value in the url myself.
This is the code i have used.

String one="AT+HTTPPARA=\"URL\",\"webhostapp.com/send2.php?depth=";
  one.concat(dep);
  one.concat("&latitude=");
  one.concat(lat);
  one.concat("&longitude=");
  one.concat(lng);
  one.concat("\"");
  sendGSM("AT+HTTPACTION=0");

What type of variables are dep, lat and lng ?

What does the String look like after running the code you posted ? I assume that you have tried printing it

dep is an int , lat and lng are long type.

If I print I am getting the desired string.

AT+HTTPPARA="URL","webhostapp.com/send2.php?depth=5&latitude=13.02&longitude=77.90"

But i am unable to send it to the server.

i am unable to send it to the server.

What is the problem ?