Forum Discussion

Georgeandpfunk's avatar
4 years ago
Solved

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...
  • PlayoffError's avatar
    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"

About NHL Franchise Discussion

Long-time fan? Tell us about your knowledge with the sport and the game franchise in our NHL Franchise community forum.17,627 PostsLatest Activity: 5 days ago