A simple echo server, useful to for debugging 🐛
Clone this repo to your machine and run yarn
to install dependencies.
run yarn start
to get the server running in watch mode.
The server will start at port 1020
.
To start with a different port, use the PORT
env param:
PORT=3000 yarn start
The server will expose the following HTTP methods:
GET, POST, PUT, PATH, DELETE, COPY, HEAD, OPTIONS, PURGE, LOCK, UNLOCK, PROPFIND.
The server will log to the console each incoming request in a pretty and readable manner.