@niwiz (while i realize you may be the wrong person to ask it looks like you are pretty active with funcool. I am working with httpurr and i am not sure how to do basic auth in the most recent version… it looks like the auth namespace is gone
@ericfode: basic auth just consists in an Authorization
header with base64 encoded password and username
so you just need is do that
(defn auth-header
[user password]
(str "Basic " (base64/encodeString (str user ":" password))))
(:require [goog.crypt.base64 :as base64])
nods Thank you. I found it in a older version in the repo. There is still a sections in the docs referring to http.auth here is a pr to remove it https://github.com/funcool/httpurr/pull/7
oh nice! thanks
merged!