replace post to request