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.

Files at this revision

API Documentation at this revision

Comitter:
mbed_official
Date:
Wed Feb 13 18:31:29 2019 +0000
Parent:
69:d39f5f709798
Child:
71:694ada6df2cd
Commit message:
Updating mbed-os to mbed-os-5.11.4

.
Commit copied from https://github.com/ARMmbed/mbed-os-example-sockets

Changed in this revision

README.md Show annotated file Show diff for this revision Revisions of this file
mbed-os.lib Show annotated file Show diff for this revision Revisions of this file
--- a/README.md	Thu Jan 17 13:00:05 2019 +0000
+++ b/README.md	Wed Feb 13 18:31:29 2019 +0000
@@ -1,5 +1,7 @@
 ## Getting started with the network-socket API
 
+(Note: To see this example in a rendered form you can import into the Arm Mbed Online Compiler, please see [the documentation](https://os.mbed.com/docs/mbed-os/latest/apis/socket.html#socket-example).)
+
 This is a quick example of a simple HTTP client program using the
 [network-socket API](https://os.mbed.com/docs/latest/reference/network-socket.html) that [Mbed OS](https://github.com/ARMmbed/mbed-os) provides.
 
--- a/mbed-os.lib	Thu Jan 17 13:00:05 2019 +0000
+++ b/mbed-os.lib	Wed Feb 13 18:31:29 2019 +0000
@@ -1,1 +1,1 @@
-https://github.com/ARMmbed/mbed-os/#a8f0c33eaa2c52babff9655417c36f4b5edd54d7
+https://github.com/ARMmbed/mbed-os/#ecb3c8c837162c73537bd0f3592c6e2a42994045