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@73:03f443752d8a, 2019-04-15 (annotated)
- Committer:
- mbed_official
- Date:
- Mon Apr 15 14:00:14 2019 +0100
- Revision:
- 73:03f443752d8a
- Parent:
- 48:f2739ac5cb01
add contribution file
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-sockets
Who changed what in which revision?
User | Revision | Line number | New 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 | } |