Set Up a Web Service

Read about JSON-based web services. If you've not encountered JSON before, follow the links to read about that as well.

The Simple Server is installed with the CS325 library and ready to load into Lisp with

(ql:quickload "simple-server")

Follow the instructions to load the JSON Demo, and start the server.

Now open the link http://localhost:8000/json-demo/demo.html and do the following tasks. Copy the results asked for to submit in your report.

GET Exported Symbols Demo

Use the GET Exported Symbols Demo form to get a list of Lisp symbols exported from the COMMON-LISP package using the filter "rand". Copy the results for your report. If no list of names appears, try to find and fix your bug.

POST Data Demo

Use the POST Data Demo form to save the values 7, 2, and 5, one at a time, in that order, with the key foo, and the value 3 with the key baz. Copy the final JSON text that appears for your report. If no JSON appears, try to find and fix your bug.