on 06-22-2018 3:03 AM
Hi,
I am trying to do http POST using AJAX call.
However the call works fine in debugging and does not when directly run.
I am using the syntax as below:
$.ajax({
url: "URL",
contentType: "application/json; charset=utf-8",
dataType: "json",
type: "POST",'
data: <jsondata>,
async: true,
success: function(response) {
console.log(response);
},
error: function(response){
console.log(response);
}
});
I am unable to figure out why, could anyone please help.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.