Fail to parameterize JSON object
Hi guys,
I got a weird problem. I receive a JSON object from backend server like this:
{"email":"someone@domain.com","pwd":"XXX"}
However, when making an AJAX call with GET method, jquery makes the following call to my backend server, which fails to process.
http://localhost/demo?callback=printResponse&{%22email%22:%22%22,%22pwd%22:%22%22}
Not sure if it's some encoding issue? I have tried to unescape the data but it does not seem to make any difference.