Page 1 of 1

API increment balance

Posted: Tue Mar 23, 2010 12:05 am
by mike123
hello, i need a form to increment player's balance.

like :

Player Name : --------------
Chips : --------------

send

i need it on a form so i can do it on mobile when i m away. thanks

Re: API increment balance

Posted: Tue Mar 23, 2010 11:56 am
by Kent Briggs
mike123 wrote:hello, i need a form to increment player's balance.

Code: Select all

<html>
<body>
  <h3>Add Chips</h3>
  <form action="http://127.0.0.1:8087/api">
    <input type="hidden" name="Command" value="AccountsIncBalance">
    <table cellspacing="5">
      <tr><td>Player:</td><td><input type="text" name="Player"></td></tr>
      <tr><td>Chips:</td><td><input type="text" name="Amount"></td></tr>
      <tr><td>API Password:</td><td><input type="password" name="Password"></td></tr>
      <tr><td>&nbsp;</td><td><input type="submit" value="Submit"></td></tr>
  </form>
</body>
</html>
Just change the 127.0.0.1 URL to match your own.