modify method get to post