In this chapter we will build the first of two REST servers. This is a simple one to do in Compojure. The REST server we build will receive a REST call over http. We will test it using a command line tool, curl.
In this chapter we assume the following:
- You have Leiningen installed and on your path on the command line.
- You know how to use curl (whether on a Mac or a PC) and have it on your path.
- You understand the concept of http parameters being passed via a GET request URI and via a POST form parameters request.