Pages: [1]   Go Down
Author Topic: inet.httpGET - submitting sensor data in char* path  (Read 928 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Pages: [1]   Go Up
Jump to: