post and get to server