[READ-ONLY] Mirror of https://github.com/shuuji3/expressjs-json-post-test. Just a simple server that echoes the JSON text same as POSTed dat
README.md

expressjs-json-post-test #

Just POST JSON text to the server returning the same JSON.

Example #

Server #

 > node server.js
 body { x: '1', y: '2' }

Client #

 > curl -H 'Content-Type: application/json' http://localhost:8000/ --data '{"x": "1", "y": "2"}'
 {"x":"1","y":"2"}