This is a simple test server that listens for HTTP requests and logs the request data to the console.
- Clone this repository
- Run
brew install nodeto install Node.js on your machine - Navigate to the project directory and run
npm installto install the project dependencies - Run
node index.jsto start the server - send POST requests to
http://localhost:3000with a JSON body to see the server log the request data
Thank you to @andy2mrqz for the code. I'ved added this README.md file for understanding the project better.