Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: EthernetInterface TMP175 mbed-rtos mbed
Fork of HTTP_POST by
Diff: main.cpp
- Revision:
- 6:48a4698a3416
- Parent:
- 5:13c63366d788
- Child:
- 7:4972e81b4b17
--- a/main.cpp Wed May 27 08:16:40 2015 +0000 +++ b/main.cpp Sun Jun 07 18:42:23 2015 +0000 @@ -32,6 +32,8 @@ map.put("write", "1"); int ret = http.post("http://httpbin.org/post", map, &inText); + // lokale Variante mit CGI-Script auf Raspberry Pi. Wenn nicht Funktioniert: raspi2x durch IP-Adresse ersetzen + // int ret = http.post("http://raspi2x/cgi-bin/action", map, &inText); if ( ! ret ) { printf("Executed POST successfully - read %d characters\n", strlen(str));