I'm trying to get an HTTP request from locationiq.org
My code is as follows:
this.http.get('https://locationiq.org/v1/reverse.php?format=json&key=9753acbde443c3&lat=' + this.appWide.lat + '&lon=' + this.appWide.long)
However, the request isn't going to the https URL, but rather performing a non-secure request. I know this since I get the error:
Mixed Content: The page at 'myurl' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://locationiq.org/v1/reverse.php?format=json&key=9753acbde443c3&lat=31.76&lon=35.21371'. This request has been blocked; the content must be served over HTTPS.
How can I make sure that the request is on the https url?