18 lines
337 B
Markdown
18 lines
337 B
Markdown
|
# Simple Callback Server
|
||
|
A simple server that prints headers and body of a request to the console.
|
||
|
|
||
|
## Usage
|
||
|
```console
|
||
|
$ npm install
|
||
|
```
|
||
|
|
||
|
```console
|
||
|
$ 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
|