sync post and url