HTTPS API class