Hacker News new | ask | show | jobs
by freetonik 2006 days ago
The HN search API[1] serves via HTTP only, so my page can't be served via HTTPS while making HTTP requests.

1. https://hn.algolia.com/api

1 comments

The HN search API does serve via HTTPS, and it also redirects HTTP requests to HTTPS. Demo: [edit: removed]
Well, I don't know what was my problem, but for some reason I couldn't make the HTTPS requests, and couldn't find any info about this. It does indeed work, and I believe I need to have some wine.

Thank you! I've re-deployed the page with https now.

No problem, glad you sorted it out.