in PHP client, add query params for all methods, not just GET