Search content
Sort by

Showing 1 of 1 result by exbet.io-support
Post
Topic
Board Gambling
Re: Exbet is LIVE >> The Bitcoin Betting Exchange [exbet.io]
by
exbet.io-support
on 07/12/2020, 21:54:13 UTC
can someone correct the address for exbet api token?

from their docs it seems to be this below

("https://api.macau.exbet.io/post/v2/login", {"password", "username"})

but it does not work

Hello Intrepidity,

the swagger docs for the login are here https://api.macau.exbet.io/apidocs/#/user/post_v2_login.
Looking at your link, you have a `post/` too much in the URL, and the payload must be a valid json dictionary.
From the console, you can get your token via

Code:
    curl -X POST "https://api.macau.exbet.io/v2/login" \
         -H "accept: application/json" \
         -H "Content-Type: application/json" \
         -d "{ \"password\": \"yourpassword\", \"username\": \"yourusername\"}"

Please try and let us know if you have any more toubles!