track your object
Dependencies: EthernetInterface mbed-rtos mbed
Fork of SimpleThing by
Diff: main.cpp
- Revision:
- 15:a15d0b575131
- Parent:
- 11:59dcefdda506
- Child:
- 16:5d72a1f1c81f
diff -r 72be2b8b7f24 -r a15d0b575131 main.cpp --- a/main.cpp Wed May 14 15:07:26 2014 +0000 +++ b/main.cpp Mon Jun 08 06:42:13 2015 +0000 @@ -8,9 +8,9 @@ printf("IP Address is %s\n", eth.getIPAddress()); TCPSocketConnection sock; - sock.connect("mbed.org", 80); + sock.connect("data.sparkfun.com", 80); - char http_cmd[] = "GET /media/uploads/mbed_official/hello.txt HTTP/1.0\n\n"; + char http_cmd[] = "GET /input/pw19y5K1J9ILGj3o8ObA?private_key=64e8m7gey8UNXgl69GZJ&variable1=10&variable2=12 HTTP/1.0\n\n"; sock.send_all(http_cmd, sizeof(http_cmd)-1); char buffer[300];