I post data with jQuery but I have a problem with array data. The values supplied to the MVC controller are always null.
This is my JavaScript code:
 var FilterCategory = $('input:checkbox:checked').map(function () {
                return this.value;
            }).get();
 var posting = $.post(url, { cursorid: lastid, CatFilter: FilterCategory });
The form data from the network:
cursorid:5434cdc84ba4dd0c40396851
Filter[]:1
Filter[]:3
Filter[]:4
Here's the C# side:
public ActionResult GetDataTweets(string cursorid,string[] CatFilter)
    {
       bla bla
    }
cursorid has a value, but CatFilter is null.
What do I need to do to have the correct value supplied to CatFilter?

