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.

mbed_app.json

Committer:
mbed_official
Date:
2018-06-18
Revision:
48:f2739ac5cb01
Parent:
40:afef93b6d854

File content as of revision 48:f2739ac5cb01:

{
    "target_overrides": {
        "*": {
            "platform.stdio-convert-newlines": true,
            "target.network-default-interface-type": "ETHERNET"
        }
    }
}