Last active
August 29, 2015 14:11
-
-
Save laser/3ea77e81c409312294a9 to your computer and use it in GitHub Desktop.
Web app scaffolding
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns pipeline.core | |
(:require [compojure.core :refer [POST defroutes]] | |
[ring.util.response :refer [response]])) | |
(defn post-notes-handler | |
[req-body] | |
(response req-body)) | |
(defroutes app | |
(POST "/notes" {req-body :body} (post-notes-handler req-body))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment