This is a simple lwip HTTPClient example it uses the HTTPClient class to update your twitter status.

Dependencies:   mbed lwip

Revision:
1:803d5168d739
Parent:
0:5396f623478b
--- a/main.cpp	Fri Sep 04 10:57:58 2009 +0000
+++ b/main.cpp	Wed Dec 02 12:22:40 2009 +0000
@@ -1,14 +1,13 @@
 #include "mbed.h"
 #include "HTTPClient.h"
 
-using namespace std;
-
 DigitalOut led(LED1);
 HTTPClient http;
 
-const char user[] = "<username>";
-const char pass[] = "<password>";
-const char msg[] = "status=<message>";
+#error Insert username and password
+const char user[] = "<your twitter username>";
+const char pass[] = "<your twitter password>";
+const char msg[] = "status=Hello World from an mbed";
 const char url[]  = "http://twitter.com/statuses/update.xml";
 
 int main(void) {