1 Reply Latest reply on Apr 6, 2018 5:51 AM by GauravS_31

    How do I request it via http?



      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.

        • 1. Re: How do I request it via http?

          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.

          1 of 1 people found this helpful