View Full Version : Cross-domain AJAX request (POST) to XML-RPC server - best practice?

9 Dec 2009, 5:50 AM

I want to do an cross-domain AJAX POST request to an XML RPC server.

What is the best practice for a cross-domain AJAX request using the newest ExtJS version (3.03)?

I could use the HttpProxy/ScriptTagProxy but this only supports GET.

How do I can send cross domain ajax requests with the method POST?
There was a Flash-Bridge but this is outdated and only for 2.x

Is there any other way?

Does it make sense to use the ext-basex 4.0 Extension?

I wasn't able to find anything clearly answering the question.

Thanks for any help!

9 Dec 2009, 8:29 AM
I have found this nice overview of possible ways for cross domain ajax requests.

As I pointed out already, a Flash bridge would be the only way to make a POST (scriptTag can only GET) request cross-domain without the need of a proxy. And I don't want to use a proxy, in fact I am using this way already, but the target is to increase the performance (currently delay of 300ms), so I wanted to try a more direct access approach)

Is there any Flash bridge for ExtJS planned or yet available? Thanks for any info!


Saint Father
4 Jun 2010, 4:45 AM
what about "parser" servlet & .htaccess?

4 Jun 2010, 5:29 AM
What is wrong with using a proxy (e.g. Apache ProxyPass)? That is the most common way to do cross-domain requests.