Skip to content

Instantly share code, notes, and snippets.

@vijaykiran
Created December 5, 2012 13:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vijaykiran/4215550 to your computer and use it in GitHub Desktop.
Save vijaykiran/4215550 to your computer and use it in GitHub Desktop.
(ns test-put.core
(:use compojure.core))
(defroutes app
(GET "/" [] "GET")
(POST "/" [] "POST")
(PUT "/" [] "PUT")
(DELETE "/" [] "DELETE"))
(ns test-put.init
(:use test-put.core)
(:require [immutant.messaging :as messaging]
[immutant.web :as web]
[immutant.util :as util]))
(web/start "/" app)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment