Problem using POST method to send GPS coordinates to php server using SIM808

Hello, I'm having an issue while trying to send GPS coordinates to a php server in hostpapa. I'm using the POST method for this with a SIM808. I'm trying to create a real time GPS for a school project that can locate a car at any time, It only sends the coordinates while the car is running. When it gets to the POST part it does funny things here's an image of the terminal

Hopefully someone can guide through this
also here's my full code

#include <TinyGPS.h>
#include <SoftwareSerial.h>
SoftwareSerial gsm(11, 10); // RX, TX
TinyGPS gps;

int CarState = 0;//Estado del vehiculo 0=apagado 1= encendido
int PreCarState = 0; // estado pasado
int val; //valor y conteo de estados o algo que se me ocurra
char DAT_GPS;
float latitude;
float longitude;
int ID = 7;

void gpsdump(TinyGPS &gps);

String printFloat(double f, int digits = 2);//prototipo para metodo printfloat


void waitUntilReponse(int delayMs)//Espera para tiempo de respuesta
  {
    while (gsm.available() < 0) { delay(delayMs); } while (gsm.available() > 0) {
    Serial.write(gsm.read());}
  }
  
void setupHttpInit() //Setup inicial
  {
    Serial.println("Sistema GPS TCI");
    Serial.println("Esperando estatus GSM");
    gsm.println("AT+CREG?");
    waitUntilReponse(500);//llamado de funcion de tiempo de respuesta
    Serial.println("GSM Listo");
    
    // Envio de settings de APN
    
    gsm.println("AT+SAPBR=3,1,\"Contype\",\"GPRS\"\r\n");
    delay(1000);
    waitUntilReponse(500);
    
    gsm.println("AT+SAPBR=3,1,\"APN\",\"internet.itelcel.com\"\r\n");
    delay(1000);
    waitUntilReponse(500);
    
   
    gsm.println("AT+SAPBR=3,1,\"USER\",\"webgprs\"\r\n");
    delay(1000);
    waitUntilReponse(500);

    gsm.println("AT+SAPBR=3,1,\"PWD\",\"webgprs2002\"\r\n");
    delay(1000);
    waitUntilReponse(500);
    

    /*gsm.println("AT+CSTT=\"internet.itelcel.com\",\"webgprs\",\"webgprs2003\""); // Definimos el APN, usuario y clave a utilizar
    delay(1000);
    waitUntilReponse(500);*/
    
    gsm.println("AT+SAPBR=2,1\r\n");
    delay(3000);
    waitUntilReponse(500);

    gsm.println("AT+SAPBR=1,1\r\n");
    delay(3000);
    waitUntilReponse(500);
    
    
  
  }
void sendDataToServer(int ID) //envio de datos a servidor
  {
    gsm.println("AT+HTTPINIT\r\n"); //Inicio de gprs
    delay(300);
    waitUntilReponse(500);
    
    gsm.println("AT+HTTPINIT=?\r\n");
    delay(300);
    waitUntilReponse(500);
    
    gsm.println("AT+HTTPPARA=\"CID\",1\r\n");
    delay(300);
    waitUntilReponse(500);
    
    gsm.write("AT+HTTPPARA=\"URL\",\"https://tciconsultoria.com.mx/gps/insert.php?");
    gsm.write("ID=");
    gsm.print(ID);
    gsm.write("&Lat=");
    gsm.print(latitude,9);
    gsm.write("&Lon=");
    gsm.print(longitude,9);
    //gsm.write(":80\"\r\n");
    waitUntilReponse(1000);
    delay(1000);
    
    
    gsm.write("AT+HTTPACTION=1\r\n");// 0= GET 1= POST
    delay(3000);
    waitUntilReponse(500);
    
   /* gsm.write("AT+SAPBR =0,1\r\n");
    delay(500);
    waitUntilReponse(500);
   */
    /*gsm.write("AT+HTTPREAD=1,10000\r\n");
    delay(500);
    waitUntilReponse(500);*/

    gsm.write("AT+HTTPTERM\r\n");
    delay(3000);
    waitUntilReponse(500);
  }

void gpsdump(TinyGPS &gps) //limpieza y acomodo de info gps
 {
  unsigned long age;
  gps.f_get_position(&latitude, &longitude, &age);
 }

void setup() 
{

    gsm.begin(9600); // baud GSM
    Serial.begin(9600); // Baud serial
    pinMode(3, OUTPUT);
    pinMode(9, INPUT);
    delay(10000);
    setupHttpInit();//establecer coneccion http en modulo

}

void loop() {
  
  // Lectura del estado del vehiculo
  CarState = digitalRead(9);
  if (CarState == LOW)
  {
    digitalWrite (LED_BUILTIN, LOW);
    
    Serial.println("Vehiculo apagado");
    delay(5000);
  }
 
  
  if (CarState != PreCarState)
  {
    
   if (CarState == HIGH)
    {
      
    
      val++;
      digitalWrite(LED_BUILTIN, HIGH);
      Serial.println("Vehiculo encendido"); 
      gpsdump(gps);  // Limpieza de gps
      sendDataToServer(ID); //Realiza posteo
      delay(500);
      
    }
    else if (CarState == LOW)
    {
      digitalWrite(LED_BUILTIN, LOW);
      delay(500);
      
      Serial.println("Vehiculo apagado");
    }
    delay(5000);
  }
}