http://stackoverflow.com/questions/6323338/jquery-ajax-posting-json-to-webservice
http://stackoverflow.com/questions/21201270/how-to-submit-json-data-by-request-body-in-jquery
$.ajax({
url : "/",
type: "POST",
data: JSON.stringify([
{id: 1, name: "Shahed"},
{id: 2, name: "Hossain"}
]),
contentType: "application/json; charset=utf-8",
dataType : "json",
success : function(){
console.log("Pure jQuery Pure JS object");
}
});
// sample api: https://api.ipify.org?format=json