Sending data to a webserver with GPRS/GPS Shield (U-blox Sara G-350) I am working on a project for tracking cars. I am using an Arduino UNO to receive the position from GPS/GPRS shield. I am OK on obtaining the coordinates position.
Now I need to send the position to a webserver and then show it on a webpage using the Google Maps API. Which accepts it in a POST or GET method.
Here is the shield model:
U-blox Sara G-350
and this is its manual here 

Here is my approach:

#include &lt;SoftwareSerial.h&gt;
#include &lt;String.h&gt;


SoftwareSerial gprsSerial(7 ,8);

void setup() {
  // put your setup code here, to run once:
  gprsSerial.begin(19200);                
  Serial.begin(19200);     
  delay(2000);

 gprsSerial.println("AT+CGDCONT=3,\"IP\",\"weborange\"");
 toSerial();
 delay(2000);

 gprsSerial.println("AT+UHTTP=0");
 toSerial();
 delay(2000);
 gprsSerial.println("AT+UHTTP=2,1,\"www.navtec.16mb.com\"");
                   //AT+UHTTP=&lt;profile_id&gt;,&lt;op_code&gt;,&lt;HTTP_server_name&gt;
 toSerial();
 delay(2000);

 gprsSerial.println("AT+UHTTP=0,5,80");
 toSerial();
 delay(2000);

}

void loop() {

 //gprsSerial.println("AT+UHTTP=2,1,\"submit\"");
                    //AT+UHTTP=&lt;profile_id&gt;,&lt;op_code&gt;,&lt;param_val&gt;[,&lt;param_val1&gt;]
 //toSerial();
 //delay(2000);

 gprsSerial.println("AT+UHTTPC=2,1,\"/add.php\",\"filename\"");  //Problem here!!!!!!!!
                   //AT+UHTTPC=&lt;profile_id&gt;,&lt;http_command&gt;,&lt;path&gt;,&lt;filename&gt;[,&lt;param1&gt;[,&lt;param2&gt;[,&lt;param3&gt;]]]
 toSerial();
 delay(2000);
}

void toSerial()
{
  while(gprsSerial.available()!=0)
  {
    Serial.write(gprsSerial.read());
  }

}


This is what I get:


  +CGDCONT=3,"IP","weborange"
  
  OK
  +UHTTP=0
  
  OK
  +UHTTP=2,1,"www.navtec.16mb.com"
  
  OK
  +UHTTP=0,5,80
  
  OK
  +UHTTPC=2,1,/add.php,filename
  
  ERROR
  +UHTTPC=2,1,/add.php,filename
  
  ERROR
  +UHTTPC=2,1,/add.php,filename
  
  ERROR
  +UHTTPC=2,1,/add.php,filename
  
  ERROR ...


Thanks for your time, I am waiting for your support, any ideas could help. Sorry for my bad English
I worked on a project similar to yours. I think you forgot to establish a connection first.
Just add those lines of code at the top of setup() method:

 gprsSerial.println("AT+UPSDA=2,0"); //Reset connection
 toSerial();
 delay(2000);
  gprsSerial.println("AT+UPSD=2,1,\"weborange\""); //Establish a new one
 toSerial();
 delay(2000);
 gprsSerial.println("AT+UPSDA=2,3"); 
 toSerial();
 delay(2000);
 gprsSerial.println("AT+UPSND=2,0");
 toSerial();
 delay(2000);


I hope it works for you. Else, you can use AT+UHTTPER=2 after all to check for error source.