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.

Committer:
mbed_official
Date:
Mon Jun 18 09:15:03 2018 +0100
Revision:
48:f2739ac5cb01
Parent:
40:afef93b6d854
Merge remote-tracking branch 'origin/mbed-os-5.9.0-oob'

* origin/mbed-os-5.9.0-oob:
Print Mbed OS version
Updating mbed-os to mbed-os-5.9.0-rc3
Updating mbed-os to mbed-os-5.9.0-rc2
Use Ethernet by default on all platforms.
Add Jenkinsfile
Use Ethernet by default on ODIN_W2
Updating mbed-os to mbed-os-5.9.0-rc1

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

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 5:3e952c60d705 1 {
mbed_official 5:3e952c60d705 2 "target_overrides": {
mbed_official 40:afef93b6d854 3 "*": {
mbed_official 48:f2739ac5cb01 4 "platform.stdio-convert-newlines": true,
mbed_official 48:f2739ac5cb01 5 "target.network-default-interface-type": "ETHERNET"
mbed_official 5:3e952c60d705 6 }
mbed_official 5:3e952c60d705 7 }
mbed_official 5:3e952c60d705 8 }