Home >Web Front-end >JS Tutorial >Can Data Be Posted via JSONP?

Can Data Be Posted via JSONP?

Mary-Kate Olsen
Mary-Kate OlsenOriginal
2024-11-04 09:07:02261browse

Can Data Be Posted via JSONP?

Cross-Domain Data Posting: JsonP vs POST

Question:

Can data be posted via JsonP, or must it always be passed as a GET request in the query string, especially when coping with large data that exceeds query string capacity?

Answer:

Asynchronous JSONP POST Limitation:

Asynchronous POST requests across domains using JSONP are not feasible. The same-origin policy restricts such communication. JSONP's functionality relies on loading scripts from arbitrary domains using