0

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

Shamoon
  • 38,429
  • 77
  • 269
  • 518

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
  • 32,000
  • 21
  • 97
  • 150