4 years ago
EASHL API Disabled?
Is the EASHL API disabled temporarily or permanently? I am receiving an "Acess Denied" error when attempting to run the following command (which has been working for the past two years): curl --refe...
- 4 years ago
Seems like the curl command needs a few non-default header values since the change.
I'm having success adding the following values:
Accept-Language: en-US,en;q=0.5
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0
Connection: keep-alive
Example using OPs example as a building block:
curl --referer www.ea.com "https://proclubs.ea.com/api/nhl/members/stats?clubId=76815&platform=ps4" -H "Accept-Language: en-US,en;q=0.5" -A "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0" -H "Connection: keep-alive"