building http get and post
client / server