jquery post not work with params
<p>I can't figure out what i am doing wrong, this code</p>

<pre><code>url = '?D=cp&amp;C=addons_modules&amp;M=show_module_cp&amp;module=myaddon&amp;method=test';
var selections = [1,2,3,4];
processBegin();
$.post(url, {ids: selections}, function(data) {
    alert(data)
},
"json");
</code></pre>

<p>return NULL, but if I send this (without {ids: selections})</p>

<pre><code>url = '?D=cp&amp;C=addons_modules&amp;M=show_module_cp&amp;module=myaddon&amp;method=test';
var selections = [1,2,3,4];
processBegin();
$.post(url,  function(data) {
    alert(data)
},
"json");
</code></pre>

<p>working well. What amI doing wrong?</p>

<p>Thanks</p>

<p>Http headers</p>

<pre><code>http://eeclean/system/index.php?D=cp&amp;C=addons_modules&amp;M=show_module_cp&amp;module=myaddon&amp;method=test&amp;products=

POST /system/index.php?D=cp&amp;C=addons_modules&amp;M=show_module_cp&amp;module=myaddon&amp;method=test&amp;products= HTTP/1.1
Host: eeclean
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
Accept: */*
Accept-Language: ru-ru,ru;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Accept-Charset: windows-1251,utf-8;q=0.7,*;q=0.7
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Content-Length: 47
Cookie: exp_last_visit=1327226896; exp_last_activity=1327235643; exp_sessionid=331607e53eef40182ecaac80c9a42e66ecc9ebb7; PHPSESSID=f8a8bf96541f0dcbf56645ccc83311e3; exp_anon=1; exp_expiration=1327235644
Pragma: no-cache
Cache-Control: no-cache
ids%5B%5D=1&amp;ids%5B%5D=2&amp;ids%5B%5D=3&amp;ids%5B%5D=4
</code></pre>
