Simple example of a server which supports ajax requests Carnegie Mellon University Updated 09-April-2013, Seth Goldstein If you have nodejs installed (see http://nodejs.org/) you can run the server (add.js) which will serve static content in the directory the server is running in and a simple add request. Sample usage can be seen in add.html. If you are running the server on your local machine, e.g., node add.js & You can make a request in your browser with the following url: http://127.0.0.1:8896/add.html