cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Studio Wi-Fi Combo

Anonymous
Not applicable

error.png

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.

0 Likes
1 Solution
GauravS_31
Moderator
Moderator

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.

View solution in original post

1 Reply