hi
I want some help, please
I want to send values to the server via this method
client.println("GET /search?q=arduino HTTP/1.1");
But values of type (int )
How is the way ???
hi
I want some help, please
I want to send values to the server via this method
client.println("GET /search?q=arduino HTTP/1.1");
But values of type (int )
How is the way ???
How is the way
int theMeaningOfLife = 42;
client.print("GET /my.php?uselessAnswers=");
client.print(theMeaningOfLife);
client.println(" HTTP/1.1");
PaulS:
int theMeaningOfLife = 42;
client.print("GET /my.php?uselessAnswers=");
client.print(theMeaningOfLife);
client.println(" HTTP/1.1");
thank u
put how if I want to send two parameters the first (int ) and the second (float)
can I??
That won't work, as the client has no way of separating the values.
This would.
int theMeaningOfLife = 42;
float theMeaningOfDeath = 4.2;
client.print("GET /my.php?theMeaningOfLife=");
client.print(theMeaningOfLife);
client.print("&theMeaningOfDeath=");
client.print(theMeaningOfDeath);
client.println(" HTTP/1.1");