- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good morning.
I want to make an http request.
However, the default setting for this project is https.
If you change the port number, you are still sending https requests.
How do I request it via http?
I am a beginner.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In the function http_client_connect( &client, (const wiced_ip_address_t*)&ip_address, SERVER_PORT, HTTP_USE_TLS, CONNECT_TIMEOUT_MS ), replace HTTP_USE_TLS with HTTP_NO_SECURITY and change the SERVER_PORT to 80. Port 443 is reserved for HTTP over SSL/TLS (or HTTPS) and port 80 is reserved for HTTP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In the function http_client_connect( &client, (const wiced_ip_address_t*)&ip_address, SERVER_PORT, HTTP_USE_TLS, CONNECT_TIMEOUT_MS ), replace HTTP_USE_TLS with HTTP_NO_SECURITY and change the SERVER_PORT to 80. Port 443 is reserved for HTTP over SSL/TLS (or HTTPS) and port 80 is reserved for HTTP.