Change the API URL to https