Bitcoin Forum
July 02, 2024, 10:24:30 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Economy / Gambling / Re: Exbet is LIVE >> The Bitcoin Betting Exchange [exbet.io] on: December 07, 2020, 09:54:13 PM
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!
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!