Switched to HTTPS for making API requests