YSITD bot says to YSITD
[jQuery.post() | jQuery API Documentation] https://api.jquery.com/jquery.post/ jQuery.post( url [, data ] [, success ] [, dataType ] )Returns: jqXHR .... Post to the test.php page and get content which has been returned in json format (<?php ... [jQuery posting JSON - Stack Overflow] http://stackoverflow.com/questions/5570747/jquery-posting-json Your 'data' should be a stringified Javascript object: data: JSON.stringify({ "userName": userName, "password" : password }). Or, to send the data from ... [ajax - How can I use JQuery to post JSON data? - Stack Overflow] http://stackoverflow.com/questions/6255344/how-can-i-use-jquery-to-post-json-data You're passing an object, not a JSON string. When you pass an object, jQuery uses $.param to serialize the object into name-value pairs. If you pass ...