JSONP stands for JSON with Padding.
This days toolsHere is the site, with great examples, with the explanation from the simplest use of this technique to the most advanced in plane JavaScript:
One of my more favorite techniques described above is Dynamic JSON Result, which allow to send JSON to the PHP file in URL parameter, and let the PHP file also return a JSON object based on the information it gets.
Tools like jQuery make it easyalso have facilities to use JSONP:
jQuery.ajax({
url: "https://data.acgov.org/resource/k9se-aps6.json?city=Berkeley",
jsonp: "callback""callbackName",
dataType: "jsonp"
}).done(function(response) {
response => console.log(response);
});
Yet another site, with great examples, with the explanation from the simplest use of this technique to the most advanced: JSONP.
There is also an explanation of the origin of the name:
JSONP stands for JSON with Padding.