json url data is not showing in console using jquery code example
Example: json url data is not showing in console using jquery
$.ajax({
type: "POST", // add type
url: 'file.php',
dataType: 'json', // change dataType to 'json' if its something else
success: function(response) {
console.log(response);
}
});
I hope it will help you.
Namaste _/\_