Page 1 of 1

api

PostPosted: Tue Sep 09, 2008 3:29 pm
by pokerisawesome
Result=Error
Error=Command parameter missing

So I made an api password and enaled api and when i did /api at th end of my url it says this...thoughts?

Re: api

PostPosted: Tue Sep 09, 2008 3:58 pm
by Kent Briggs
pokerisawesome wrote:Result=Error
Error=Command parameter missing

So I made an api password and enaled api and when i did /api at th end of my url it says this...thoughts?


Just like the error says, you didn't include a Command parameter. Try something like this from your browser, substituting in your URL and API password:

http://127.0.0.1:8087/api?Password=banana&Command=AccountsList&Fields=Player,Balance

There's also an example in the help file using both POST and GET.