Sample ajax call – examples

POST:

$.ajax({
        url: url
        , data: JSON.stringify(this.model)
        , contentType: "application/json; charset=utf-8"
        , dataType: 'json'
        , type: 'POST'
        , success: function () {}
        , error: function () {}
    });