Remake post and get method.