added filter for POST requests