What are the limitations of jsonp?
Answer / Dharmendra Kumar
JSONP (JSON with Padding) has several limitations:
1. JSONP cannot pass complex data structures like arrays or objects.
2. It is vulnerable to Cross-site Scripting (XSS) attacks due to its reliance on JavaScript's eval() function.
3. JSONP does not support HTTP methods other than GET, as it relies on script tags which do not support other methods.
4. JSONP requires a callback parameter, which can be a bit cumbersome and may require additional coding.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is JSON Parser?
Why do we use json in php?
Do all the programming languages and platform support json?
Is json rest or soap?
Explain Syntax of JSON?
Mention what are the JSON files?
What does object.create do?
How to generate/send json data at the client side?
How to convert an object into json? What is the full syntax of json.stringify?
Is json an api?
How to use newtonsoft or json.net for serializing json data?
Who is the Father of JSON ?