how can i call a simple url with gsm shield

hello friends,
i checked the example in the web andthis is my code
void loop()
{
Serial.println("Now in loop");
if (client.connect(server, port)) {
Serial.println("connected");
// Make a HTTP request:
client.print("GET ");
client.print(path);
client.print("hum=");
client.print(5);
client.print("&vel=");
client.print(16);
client.println(" HTTP/1.1");
client.print("Host: ");
client.println(server);
client.println("Connection: close");
client.println();
} else {
// if you didn't get a connection to the server:
Serial.println("connection failed");
}

lets say server is google.de and path is index.html? would the arduino call the homepage Google
if not can u please tell me how he i can call the url Google
best regards
dallen

Google is a bad example because google forces a redirect to https:// which the Arduino does not support.

If the variable path in your code does not include a "?" at the end, you may have to insert one somewhere.

Otherwise, do you have any reason to suspect that the code snippet which you have provided would not work if it is integrated into a complete program ?

we try to get data from the arduino to a webserver which will store it into firebase. our webserver is in http and the reason i suspect the code not to work is because if i make a direkt call in my webbroser i can add items to my firebase database. if i run this programm from arduino no items get added all it has to do is call the webpage and i really wonder why it doesnt work

Post all the code, but, as i said, there may be a "?" missing depending what is in path.
Does this help?:

client.print("?hum=");

Hello everyone, do you have found the solution at this problem ?

Because i'm facing the excatly the same issue... But with php.
I can update my DTB directly with an http request like : www.test.net/index.php?Id_lamp=42

But when i land the exact same request from my arduino it doesn't work at all:

char server[]=  "test.net";       
char path[]=    "/index.php?Id_lamp=42";
int port = 80;

...

client.print("GET /index.php?Id_lamp=42 HTTP/1.1"); 
    client.print("Host: ");
    client.println(server);
    client.println("Connection: close");
    client.println();

Does anyone has an answer or an advice ?
Thanks.

Because i'm facing the excatly the same issue.

Please explain what your issue is, because I doubt that it is using a GSM shield to connect to a server to get data to store in firebase.

But when i land the exact same request from my arduino it doesn't work at all

It does something. You need to figure out what it does. Making a GET request, and then telling the server to piss off is a bad idea. The server generated a response. Reading it just might present a clue by four.

The server keeps a log of all requests (or it could and should). Consult those logs to find out what the server response was, if you can't be bothered to write the Arduino code correctly (to read the server response).