Trying out compojure-api with
The REST API docs: https://compojure-api-test.herokuapp.com/apidocs/ (username foo, password bar).
Try posting from another host: https://ykarikos.github.io/compojure-api-test/
export API_USER=foo
export API_PASSWD=bar
export ORIGIN_URL=http://localhost:8080
lein ring server
The apidocs are now running at http://localhost:3000/apidocs/.
lein do clean, ring uberjar
java -cp target/server.jar clojure.main -m api-test.handler
Compojure-api-test (C) 2015 Yrjö Kari-Koskinen ykk@peruna.fi
Compojure api test's source code is licensed with the MIT License, see LICENSE.txt.
This project is a grateful recipient of the Futurice Open Source sponsorship program.