While I\'ve been able to add my own post data programmatically, I cannot seem to figure out how to get this code to send _search: true in the request.
There is an additional parameter, search, which need be set to initiate the searching. The _search parameter of postData need not be set explicitly. I recommend to look up some old answers where you find examples how to work with searching: