Rest Api - using query parameter

Hello,
I’m using rest api to get some informations from my CRM. In my first api I get a list of modules with filter=default, Now I want to have a count of some modules. In the official documentation, API v4.1 Methods :: SuiteCRM Documentation, there aren’t examples. The url that I’m using in Postman is
… rest.php?method=get_entries_count&response_type=JSON&input_type=JSON&rest_data={“session”:“myidsession”, “filter”:“Accounts”,“query”:false}
but it is not correct, I have “500 Internal error”.
Some ideas?

Best regards

Hi, the correct get is this:
…/rest.php?method=get_entries_count&response_type=JSON&input_type=JSON&rest_data={“session”:“MySessionID”, “module_name”: “Accounts”,“query”:null,“deleted”:false}

and the response is
{
“result_count”: “386”
}

Best regards
Sergio