CURL line for createDeveloperAppKeys operation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • elip
    Junior Member
    • Feb 2020
    • 2

    #1

    CURL line for createDeveloperAppKeys operation

    Hi All!

    I'm trying to configure new account appkey, but I'm keep getting "UNEXPECTED_ERROR" when running createDeveloperAppKeys, I saw in the documentation (link [1]) the following:

    We are aware that when using some browser versions to create App Keys the Demo Tool throws an UNEXPECTED_ERROR when requesting createDeveloperAppKeys. Using an alternative browser/s should resolve this problem.
    but I've try firefox / chromnium / chrome / edge and even IE without any of them working.

    Can you provide a curl command to create the AppKey? I known that I can't login with curl without AppKey, but there should be a reliable way to create the AppKey with curl.

    P.S. I also gave a shot by copying the request from the browser to curl, without success:

    Code:
    curl 'https://docs.developer.betfair.com/visualisers/account' -H 'X-Authentication: MYSSOID' --data-binary '[{"jsonrpc": "2.0", "method": "AccountAPING/v1.0/createDeveloperAppKeys", "params": {"appName":"MYAPPNAME"}, "id": 1}]'
  • RogerMoore
    Junior Member
    • Mar 2020
    • 4

    #2
    Agreed. Tried this on a few browsers now and just doesn't work. It's stopping me from getting started on the API!

    Comment

    Working...
    X