Using network.request with HTTPS

Hi, 

I am looking for information on how to use network.request with https, especially 

  1. Where to store the certificate

  2. How to refer to in the network.request

Basically instructions on how I go about it. 

Thanks in advance

Frank

You don’t need to store the certificate on the app side.  As long as the server returns a valid certificate when a web browser hits it, we are good to go.

Then simply use “https://” in your network.request URL instead of http:// and you’re all set.

You don’t need to store the certificate on the app side.  As long as the server returns a valid certificate when a web browser hits it, we are good to go.

Then simply use “https://” in your network.request URL instead of http:// and you’re all set.