Menu
  • HOME
  • TAGS

Unable to login with SSL certificate using C++, Qt and Betfair API-NG

c++,qt,https,ssl-certificate,betfair

When you want to login over an SSL connection using a client certificate, you need to additionally specify the client's private key. A certificate is basically only a public key, that someone else checked. The access is granted when you can proof to the server, that you are also having...

Betfair like Odds increment and decrement

javascript,jquery,betfair

I tried the following which is not using number stepping, but if you use the buttons it does work. It is an alternate solution, sorry if its not what you are looking for. HTML: <input type="number" min="1.01" max="1000" id="num"/> <button class="increment">+</button> <button class="decrement">-</button> Javascript: $('.increment').on('click', function() { var elem =...

use indexOf when accessing JSON with Javascript

javascript,json,betfair

Your problem is that you are using > 0. However, indexOf will find the surname that you use in the first position, and return 0. Use > -1 or >= 0 instead.