Skip to content

Instantly share code, notes, and snippets.

@dsosby
Created September 20, 2012 15:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dsosby/3756552 to your computer and use it in GitHub Desktop.
Save dsosby/3756552 to your computer and use it in GitHub Desktop.
make-param-str
(defn make-param-str [param-map]
(join "&" (map (fn [[key val]] (format "%s=%s" (name key) val)) param-map)))
;TODO still needs URL encoding -- format wont work in clojurescript
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment