$.ajax({ url: BASE_URL+'/admin/save_listing', type: 'POST', processData: false, contentType: false, data: formData, dataType: 'json', success: function(result) { code example
Example 1: jquery ajax post
$.ajax({
type: "POST",
url: url,
data: data,
success: success,
dataType: dataType
});
Example 2: make ajax request post jquery
$.ajax({
method: "POST",
url: "some.php",
data: { name: "John", location: "Boston" }
})