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.
URLEncode
-
- Site Admin
- Posts: 5878
- Joined: Wed Mar 19, 2008 8:47 pm
Re: URLEncode
Do not encode the equals signs (=) or the ampersands (&) in between the parameters. Only encode those if they are in the values themselves.