As its Javadocs suggest, the JsonpRequestBuilder can only send GET requests. I need to send POST requests using the same method (for cross domain requests using JSON).
Does anybody know any working solution? I could not find any starting point on the web.
thanks in advance
You can’t use JSONP to do a POST – all it does is inserting a
<script src="...">tag, and the browser fires off a GET request.Maybe what you’re looking for is CORS, but that’s only supported by FF 3.5, IE 8 and Safari 4 and newer. And the server must support it, too.
Otherwise, you’ll have to proxy from your server to the other domain.