enable changing request method for post requests