Discuss New Concept,New Technic,New Tools, Including EAI,BPM,SOA,Tibco,IBM MQ,Tuxedo, Cloud,Hadoop,NoSQL,J2EE,Ruby,Scala,Python, Performance,Scalability,Distributed,HA, Social Network,Machine Learning.

ExtJS

Mar 252011
 
 HTTP POST request can not support JSONP.  March 25, 2011  Posted by on March 25, 2011 at 5:04 pm Ajax-Common, ExtJS, jQuery, JSON Tagged with: , , ,  No Responses »

HTTP POST request can not support JSONP.
Here is some resource :
1) Cross-domain AJAX with JSONP

http://devlog.info/2010/03/10/cross-domain-ajax/

Then the next limitation — and this is a big one — is that JSONP doesn’t support POST requests.
2)   JSONP in Jquery.POST()

http://forum.jquery.com/topic/jsonp-in-jquery-post

3) Using PUT/POST/DELETE with JSONP and jQuery

http://stackoverflow.com/questions/5345493/using-put-post-delete-with-jsonp-and-jquery

4) Ext.util.JSONP POST possible?

http://www.sencha.com/forum/showthread.php?125847-Ext.util.JSONP-POST-possible

So It need change the REST service from POST to GET. but Get has message size limitation. Another way is user server side proxy or other solution .