This is a quick example of a simple HTTP client program using the network-socket API that is provided as a part of mbed-os. The program brings up an underlying network interface, and uses it to perform an HTTP transaction over a TCPSocket.

Revision:
48:f2739ac5cb01
Parent:
46:6a4973726e59
Child:
50:e0496f3424a8
--- a/mbed-os.lib	Wed Jun 06 15:00:09 2018 +0100
+++ b/mbed-os.lib	Mon Jun 18 09:15:03 2018 +0100
@@ -1,1 +1,1 @@
-https://github.com/ARMmbed/mbed-os/#35fa909641fedcad9bbe0c7300d4ccdf15a2b71a
+https://github.com/ARMmbed/mbed-os/#866850acc15e86cd4ac11bf4404078a49f921ddd