Use https instead of http

Request to http redirects to https so either add -L to curl to follow redirects or go directly to https.