I am trying to access cross origin site via script.
So I am getting an error, I have searched on internet that shows the solution is the JsonP
.
Anyone Please help me to know what is jsonp .
and what is the difference between json and jsonp.
Is JSONP cross browser compatible? can i use jsonp in mobile applications or asp.net mvc?
JSONP is a simple way to overcome browser restrictions when sending JSON responses from different domains from the client.
But the practical implementation of the approach involves subtle differences that are often not explained clearly.
Here is a simple tutorial that shows JSON and JSONP side by side.
All the code is freely available at Github and a live version can be found at http://json-jsonp-tutorial.craic.com
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With