Created
September 2, 2011 13:48
-
-
Save jmoody/1188626 to your computer and use it in GitHub Desktop.
AgChoice: call to ValidateUser and the server response
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is the call: | |
{ | |
"method": "ValidateUser", | |
"params": [ | |
{ | |
"userName": "some-user", | |
"password": "some-pass" | |
} | |
], | |
"id": 1 | |
} | |
This is the response: | |
{ | |
"id": null, | |
"error": { | |
"name": "JSONRPCError", | |
"message": "Cannot import System.String from a JSON Object value.", | |
"errors": [ | |
{ | |
"name": "JsonException", | |
"message": "Cannot import System.String from a JSON Object value." | |
} | |
] | |
} | |
} | |
I tried these URLs: | |
http://agchoice-dev2.tradeslot.com/ios.ashx | |
http://agchoice-dev2.tradeslot.com/ios.ashx?test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment