The issue with your current XMLHttpRequest implementation is that you’re making a POST request, but you’re not actually sending the form data. That means your server has no idea what filters you’re applying, so it’s just returning the default results instead of the filtered ones.