Is it possible to post data to JsonP? Or does all data have to be passed in the querystring as a GET request?
I have alot of data that I need to send to the service,
It is possible, here is my solution:
In your javascript:
jQuery.post("url.php",data).complete(function(data) { eval(data.responseText.trim()); }); function handleRequest(data){ .... }
In your url.php:
echo "handleRequest(".$responseData.")";