See http.get or http.request in the Node API docs.