Changed API URL to always use https