Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more to the Wiki! #57

Open
ashercoren opened this issue May 28, 2015 · 1 comment
Open

Add more to the Wiki! #57

ashercoren opened this issue May 28, 2015 · 1 comment

Comments

@ashercoren
Copy link
Contributor

This library looks awesome, but with the luck of Wiki it's very difficult to understand how to use it (I'm referring to the more complex features, such as custom middleware, custom headers, etc.

@puppybits
Copy link

I got stuck a bit too. But it's using standard ring requests so much of the documentation about Ring applies to this library as well.
https://github.com/ring-clojure/ring/wiki/Concepts

For instead setting customs headers can be done like this:

(http/post my-uri {
      :headers {"Content-Type" "application/json"}
      :body {:token "my-token"}})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants