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.
Revision 24:0449435e2ef2, committed 2017-09-27
- Comitter:
- mbed_official
- Date:
- Wed Sep 27 15:45:06 2017 +0100
- Parent:
- 23:f98d6e278783
- Child:
- 25:f76096b5a393
- Commit message:
- Update README.md
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-sockets
Changed in this revision
README.md | Show annotated file Show diff for this revision Revisions of this file |
--- a/README.md Tue Jul 18 17:30:04 2017 +0100 +++ b/README.md Wed Sep 27 15:45:06 2017 +0100 @@ -10,6 +10,8 @@ To use the example with a different interface, you will need to modify main.cpp and replace the EthernetInterface class with the appropriate interface. +**Note:** The default serial port baud rate is 9600 bit/s. + ### Expected output ### ```