Handle HTTPS APIs
handle null responses