to get http data