Arduino Request Get

0

Hello good afternoon I have a question about the Get request that Arduino handles. How can I get him to do the 2 requests, because currently in my code when compiling it and uploading it to my esp8266 board only does the one request.

My code is currently this

client.print("GET /pruebaSistemas.php?"+dato1+temp); // Enviamos los datos por GET
client.println(" HTTP/1.0");
client.println("User-Agent: Arduino 1.0");
client.println();
Serial.println("Conexión Exitosa\n");
Serial.println("Sensor Negrito\n");
Serial.println(temp); 

client.print("GET /pruebaSistemas2.php?"+dato1+dataAM2315[1]+dato2+dataAM2315[0]);
client.println(" HTTP/1.0");
client.println("User-Agent: Arduino 1.0");
client.println();
Serial.println("Conectado");
Serial.println("Sensor Gris\n");
Serial.println(dataAM2315[1]); 
Serial.println(dataAM2315[0]);
    
asked by Ivan Andrey Bolaños Massella 28.11.2018 в 17:07
source

0 answers