Skip to content

Instantly share code, notes, and snippets.

@jmoody
Created September 2, 2011 13:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmoody/1188626 to your computer and use it in GitHub Desktop.
Save jmoody/1188626 to your computer and use it in GitHub Desktop.
AgChoice: call to ValidateUser and the server response
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