Changed API URL to https