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 mbed-rtos mbed
Fork of HTTP_GET by
Revision 8:56623442c99a, committed 2016-03-18
- Comitter:
- stefan1691
- Date:
- Fri Mar 18 10:41:28 2016 +0000
- Parent:
- 7:4972e81b4b17
- Commit message:
- IoT Stick statt Raspi
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Jun 08 12:38:20 2015 +0000
+++ b/main.cpp Fri Mar 18 10:41:28 2016 +0000
@@ -32,8 +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/rest", map, &inText);
+ // lokale Variante mit CGI-Script auf IoT USB Stick. Wenn nicht Funktioniert: iot-stick durch IP-Adresse ersetzen
+ // int ret = http.post("http://iot-stick/rest/cgi-bin/rest", map, &inText);
if ( ! ret )
{
printf("Executed POST successfully - read %d characters\n", strlen(str));
