Explain jsonp in a simple language.
Answer / Gulshan Arya
JSONP (JSON with Padding) is a workaround for cross-domain AJAX requests, which are usually blocked by the Same Origin Policy (SOP).nIt works by having the server wrap JSON data inside a JavaScript function call. The client requests this script from the server, and the JavaScript function automatically receives the JSON data.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are different ways to create objects?
what are natively supported json types?
What is the difference between json parse and json stringify?
what is the function used for encoding JSON in PHP?
Is json better than xml?
What programming languages supported by json?
How do you decode a json string?
Explain how you can convert a string into a JSON Array?
Is json is a language?
what is the difference between JSON and JSONP?
Why json format is better than xml?
How to receive json data at the server side?