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:
Tue Mar 27 12:45:08 2018 +0100
Revision:
40:afef93b6d854
Parent:
5:3e952c60d705
Child:
48:f2739ac5cb01
Merge branch 'mbed-os-5.8.0-oob'

* mbed-os-5.8.0-oob:
Updating mbed-os to mbed-os-5.8.0-rc2
Read until connection is properly closed.
Add build instructions.
Convert line-feeds for stdout.
Updating mbed-os to mbed-os-5.8.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 40:afef93b6d854 4 "platform.stdio-convert-newlines": true
mbed_official 40:afef93b6d854 5 },
mbed_official 5:3e952c60d705 6 "UBLOX_EVK_ODIN_W2": {
mbed_official 5:3e952c60d705 7 "target.device_has_remove": ["EMAC"]
mbed_official 5:3e952c60d705 8 }
mbed_official 5:3e952c60d705 9 }
mbed_official 5:3e952c60d705 10 }