Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (10 sloc) 484 Bytes


Wakeful is a Restful routing alternative for Clojure. It makes it really easy to connect your web api to namespaces in your project.


(use 'flatland.wakeful.core)

(def handler (wakeful "awesome.api"))

Now http calls dispatch to methods calls in namespaces under awesome.api:

GET  /photo-123/thumbnail  ->
GET  /photo-123/tags       ->
POST /photo-123/tag/user-1 ->!
Jump to Line
Something went wrong with that request. Please try again.