/http-log

Simple http server that logs the requests it receives.

Primary LanguageJavaScript

http-log

Simple http server that logs the requests it receives.

Run the file with node. The server will run on localhost:3000 by default. You can specify the port as a runtime argument.

Example:

$ node http-log.js 1337

Note: Written on a Node v8.9.1 environment.