Change API url to use https.