In my angular2 app I making a HTTPS post request to the API:'', body, { headers: contentHeaders })
      response => {.....

And I am getting “failed to load resource: net::ERR_INSECURE_RESPONSE”

Everything was fine with HTTP until I switched to HTTPS.

I am using self signed certificate for

In browser I am able to accept the certificate and make a request to the API. Could I resolve this also to make an API request via from angular2 directly?

Leave a Reply

Notify of