Change request type from get to post