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:
Thu Sep 12 16:00:11 2019 +0100
Parent:
74:2ebbf16f54dd
Commit message:
README.md: remove the External address line form sample output

.
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
diff -r 2ebbf16f54dd -r 1e3673a86f39 README.md
--- a/README.md	Tue May 14 12:00:15 2019 +0100
+++ b/README.md	Thu Sep 12 16:00:11 2019 +0100
@@ -50,7 +50,6 @@
 Gateway: 10.118.12.1
 sent 39 [GET / HTTP/1.1]
 recv 173 [HTTP/1.1 200 OK]
-External IP address: 217.140.111.135
 Done
 ```