Hi all,

I'm trying to make some post method to a server, and I need to use the XMLHttpRequest to take care of CORS. So ... I made the classic POST to make some test:

var invocation = new XMLHttpRequest();
var params = "lorem=ipsum&name=binny";
invocation.open("POST", url, true);
invocation.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
invocation.send(params);

Just an easy test and I open the debug javascript console. take a look to the get/post method, and there I find my post, with the next info:

Request URL:https://test.libregeosocial.libresof...n/?format=JSON

Request Headers
Content-type:application/x-www-form-urlencoded
Origin:http://127.0.0.1:8888
Referer:http://127.0.0.1:8888/com.libregeoso...nd_LGS_Backend
User-Agent:Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16

Query String Parameters
format:JSON

Form Data
lorem:ipsum
name:binny


That POST, not goes anywhere ... I take a look to the server, but not report any call nor Post, nor nothing. If I make this on firefox 4.0. it's works, but not in chrome.

Any Idea, I read about people that make it works, but I' m really tired to make test and don't find the way ...

Thanks for all, and if you need mor information, please just shoot it!