Skip to content

Commit

Permalink
Make data-conversion specific in request doc
Browse files Browse the repository at this point in the history
  • Loading branch information
pandeiro committed Nov 7, 2011
1 parent 0c90b15 commit 749d54d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion req.cljs
Expand Up @@ -5,7 +5,8 @@
(:refer-clojure :exclude [get]))

(defn request
"Carries out an HTTP request and passes data to callback as a Clojure map"
"Carries out an HTTP request, converting any payload from Clojure map to JS object,
and passes JSON response to callback as a Clojure map."
([url]
(request url nil "GET" nil nil))
([url callback]
Expand Down

0 comments on commit 749d54d

Please sign in to comment.