Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

POSTing data to JSONP

Is it possible to POST data to JSONP? Or does all data have to be passed in the querystring as a GET request? any sample code.

thanks

like image 413
Nick Kahn Avatar asked Jun 04 '26 20:06

Nick Kahn


1 Answers

No, you can't post data to JSONP. JSONP has to be "submitted" as a script tag, and script tags cannot POST information.

Hope this helps.

like image 105
mattbasta Avatar answered Jun 07 '26 23:06

mattbasta



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!