Changed http:// to https:// in request of https://wordpress.org/support/topic/changing-api-endpoint-from-http-to-https?replies=1#post-5937827