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.
File content as of revision 74:2ebbf16f54dd:
# Testing examples Examples are tested using tool [htrun](https://github.com/ARMmbed/mbed-os-tools/tree/master/packages/mbed-host-tests) and templated print log. To run the test, use following command after you build the example: ``` mbedhtrun -d D: -p COM4 -m K64F -f .\BUILD\K64F\GCC_ARM\sockets.bin --compare-log tests\sockets.log ``` More details about `htrun` are [here](https://github.com/ARMmbed/htrun#testing-mbed-os-examples).