0

I'm trying to avoid jQuery and would like to use a native solution. How can I POST with JSONP?

Shamoon
  • 41,293
  • 91
  • 306
  • 570

1 Answers1

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