change method to post