IFTTTに引数付きでPOST出来る様に改修

Dependencies:   EthernetInterface HTTPClient mbed-rtos mbed

Fork of HTTPClient_IFTTT_Maker_post_HelloWorld by Ken Suzuki

Revision:
1:b713347c7f63
Parent:
0:0bac9bcebae1
Child:
2:7101bf2516ef
--- a/main.cpp	Thu Jun 25 11:40:49 2015 +0000
+++ b/main.cpp	Thu Jun 25 12:14:29 2015 +0000
@@ -23,8 +23,8 @@
     }
 
     HTTPMap map;
-    map.put("value1", "Somebody pushed my reset button.");
-    ret = http.post("http://maker.ifttt.com/trigger/button_pushed/with/key/bdsJdNU9BdvTf3CrsAuBE5", map, &inData);
+    map.put("value1", "Hello World.");
+    ret = http.post("http://maker.ifttt.com/trigger/button_pressed/with/key/YOUR_SECRET_KEY", map, &inData);
     
     if (!ret) {
         pc.printf("HTTP request succeeded.\r\n");