martincarrera / clash-royale-api

:crown: Clash Royale API that provides information about the game.
http://www.clashapi.xyz/
MIT License
354 stars 80 forks source link

Consume API via HTTPS #98

Closed ikenami closed 6 years ago

ikenami commented 6 years ago

It would be nice if we could consume the API using HTTPS instead of HTTP without the "insecure" warning popping up. Any plans to do so?

martincarrera commented 6 years ago

Hi @ikenami! I have the HTTPS version here.

The problem is that Heroku does not provide HTTPS by default, and the hosting I'm using to get HTTPS (now.sh) is not 100% stable, so I am not quite comfortable with migrating the app yet.

You can still use https://clashapi.now.sh/ to consume the API using HTTPS, as it's a exact replica of the API in clashapi.xyz

Also, check this issue: #83