(http1.1) text save together with value to database

Hi, as previous topic I had solved the problem by adding a line code as below (cliente.println("HTTP/1.1");):

sensors.requestTemperatures();
  Celcius = sensors.getTempCByIndex(0);
  if (cliente.connect(serv, 80)) { //Connecting at the IP address and port we saved before
    Serial.println("temp-connected");
    cliente.print("GET /garden/Components/insertwtemp?"); //Connecting and Sending values to database
    cliente.print("wtemperature=");
    cliente.print(Celcius);
    cliente.println("HTTP/1.1");
    //Printing the values on the serial monitor
    Serial.print("Water Temperature= ");
    Serial.println(Celcius);
    cliente.stop(); //Closing the connection
  }
  else {
    // if you didn't get a connection to the server:
    Serial.println("connection failed");
  }

But the outcome in database as shown in picture below, without this line code I cant save my data to database
image
Is there any solution to solve it? Much appreciate

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.