Go Down

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


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);

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

Thank you

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131