Log query for POST requests too.