added filter to change http method in the right way (spring way)