[–]▶ be209a (3) No.4564 >>4572 >>5410 [Watch Thread][Show All Posts]
I'm making a Node.js application for the first time without a tutorial and I am trying to use an external API someone else made to grab data.
I am getting a mix content error in the console log whenever I try to call the API because it is HTTP and not HTTPS.
I deployed on Heroku and Heroku is of course secure/https.
I have no idea how to convert the HTTP API into a secure HTTPS link.
Please let me know what tools I need and how to go about it. I have a feeling NGROK may be useful but I am pretty lost with this problem.
____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
▶ be209a (3) No.4566
I am doing the GET through an AJAX call which gets activate onClick.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
▶ be209a (3) No.4572
>>4564 (OP)
var options = {
url : '',
method : 'GET',
strictSSL : false
};
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
▶ 4bd7c2 (1) No.5410
>>4564 (OP)
Your application should proxy the requests to avoid that.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.