Replaced http.get with the request module