Go to file
2022-08-08 12:23:12 +02:00
.gitignore Initial commit 2022-05-16 16:18:15 +02:00
index.mjs Initial commit 2022-05-16 16:18:15 +02:00
LICENSE Add LICENSE 2022-05-16 16:20:24 +02:00
package-lock.json Initial commit 2022-05-16 16:18:15 +02:00
package.json Initial commit 2022-05-16 16:18:15 +02:00
README.md Add blog entry link 2022-08-08 12:23:12 +02:00

Simple Callback Server

Read the blog entry at c0ntroller.de

A simple server that prints headers and body of a request to the console.

Usage

$ npm install
$ npm run start

Then every incoming HTTP request will be logged with the following information:

  • HTTP Method
  • Called path
  • Headers
  • (if exists) Query parameter
  • (if exists) Body