URLEncode

Report bugs found in Poker Mavens
Post Reply
slawek
Posts: 18
Joined: Fri Feb 13, 2009 2:56 pm

URLEncode

Post by slawek »

I tried to encode url for api requests. May be some error in encoding, but i didn't see it :)

"http://localhost:8087/api?Password=pass ... %2cBalance"

As result i receive en error:

"Result=Error
Error=Invalid Command: AccountsList&Fields=Player,PW,Balance"

Am i doing something wrong?

Thank you. :)
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: URLEncode

Post by Kent Briggs »

Do not encode the equals signs (=) or the ampersands (&) in between the parameters. Only encode those if they are in the values themselves.
Post Reply