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 node
to install Node.js on your machine - Navigate to the project directory and run
npm install
to install the project dependencies - Run
node index.js
to start the server - send POST requests to
http://localhost:3000
with 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.