I'm trying to avoid jQuery and would like to use a native solution. How can I POST with JSONP?
Asked
Active
Viewed 310 times
0
-
No way: http://stackoverflow.com/questions/2699277/post-data-to-jsonp – kirilloid Mar 21 '12 at 19:26
-
Just out of curiosity, why are you trying to avoid jQuery? – Supr Mar 21 '12 at 19:37
1 Answers
1
You can't.
JSONP works via inserting a <script>
tag in the page, which then allows data to be retrieved from the remote server. Obviously there's no way to POST
a <script>
tag.

blahdiblah
- 33,069
- 21
- 98
- 152