Fork me on GitHub

Hello everyone, Is there a function for doing this (generate URLs):

(f "localhost:8080"
   {:client-id :bar
    :response-type :code
    :redirect-uri ""
    :scope :openid})
;; => ""

Ben Sless15:10:35

you can usually find those in http client libraries, less in server libraries


There are various URI (note I not L) builders for the JVM ecosystem, to extent the native URI class works semi decently as well and most HTTP clients have their own even, so the real answer is that you probably already have a few in your classpath, you're just not aware they're there 🙂