diff --git a/pages/getting-started/introduction-to-nodejs.md b/pages/getting-started/introduction-to-nodejs.md index 2c591ed..6bc4fd2 100644 --- a/pages/getting-started/introduction-to-nodejs.md +++ b/pages/getting-started/introduction-to-nodejs.md @@ -67,7 +67,7 @@ The `createServer()` method of `http` creates a new HTTP server and returns it. The server is set to listen on the specified port and host name. When the server is ready, the callback function is called, in this case informing us that the server is running. -Whenever a new request is received, the [`request` event](https://nodejs.org/api/http.html#http_event_request) is called, providing two objects: a request (an [`http.IncomingMessage`](https://nodejs.org/api/http.html#http_class_http_incomingmessage) object) and a response (an [`http.ServerResponse`](https://nodejs.org/api/http.html#http_class_http_serverresponse) object). +Whenever a new request is received, the [`request` event](https://nodejs.org/api/http.html#event-request) is called, providing two objects: a request (an [`http.IncomingMessage`](https://nodejs.org/api/http.html#class-httpincomingmessage) object) and a response (an [`http.ServerResponse`](https://nodejs.org/api/http.html#class-httpserverresponse) object). Those 2 objects are essential to handle the HTTP call.