Now using HTTPS for API communication