HTTP/HTTPS client Hello World application running with X-NUCLEO-IDW01M1v2 wifi board.
Dependencies: HTTPClient NetworkSocketAPI X_NUCLEO_IDW01M1v2 mbed
Fork of HTTPClient_HelloWorld by
Example of HTTP and HTTPS connections using X-NUCLEO-IDW01M1 Wi-Fi expansion board.
The application is meant to be used with mbed OS 2 ("Classic") only (no mbedOS 5 support).
For HTTPS connection it uses the TLS/SSL feature provided natively by the Wi-Fi module and performs secure connection to the server also verifying the server identity.
To avoid expired CA certificates, system time (in epoch) must be manually entered (e..g. using http://www.epochconverter.com/ ) .
Retrieval of current time from an NTP server is shown by this example.
Revision 12:4ae87c278a63, committed 2017-01-16
- Comitter:
- nikapov
- Date:
- Mon Jan 16 15:12:46 2017 +0000
- Parent:
- 11:225ab4865c6b
- Commit message:
- Update libs.
Changed in this revision
HTTPClient.lib | Show annotated file Show diff for this revision Revisions of this file |
--- a/HTTPClient.lib Mon Jan 16 15:00:57 2017 +0000 +++ b/HTTPClient.lib Mon Jan 16 15:12:46 2017 +0000 @@ -1,1 +1,1 @@ -https://developer.mbed.org/teams/ST-Expansion-SW-Team/code/HTTPClient/#dafc02922e40 +https://developer.mbed.org/teams/ST/code/HTTPClient/#dafc02922e40