Fri Mar 29 2013
Been messing around with node.js and implementing a simple restful web service.
Written by: Cesar
1 min read
Been messing around with node.js and implementing a simple restful web service. First started with implementing GET, then POST, DELETE, and PUT.
Then I used some curl commands to test it out. Worked out pretty good. Used the following commands to test:
curl http://127.0.0.1:9000
curl -d ''stretch'' http://127.0.0.1:9000
curl -X PUT ''stretch more'' http://127.0.0.1:9000/0
curl -X DELETE http://127.0.0.1:9000/0