Go Down

Topic: inet.httpGET - submitting sensor data in char* path (Read 1 time) previous topic - next topic

nchstp30

Now i got one more problem with inet.httpGET char*path below. the following syntax is working

inet.httpGET("api.pushingbox.com", 80, "/pushingbox?devid=v****8&Temperature=30.65", msg, 0);

But I need to put a variable in place of 30.65 in a void loop() as in the following code

float Temp;

void loop()
{
Temp  =  analogRead(tempPin);
inet.httpGET("api.pushingbox.com", 80, "/pushingbox?devid=v****8&Temperature=?Temp?", msg, 0);
delay(1000);
}

What should i place instead of ?Temp? in above line?

Thank you
--Santhosh

Go Up