(deserialize json)
Deserialze json
into kebab-case keyed edn
Deserialze `json` into kebab-case keyed edn
(dissoc-in m [k & ks])
Perform a dissoc into a nested structure, with the same semantics as assoc-in
Perform a dissoc into a nested structure, with the same semantics as assoc-in
(http-get url token)
Perform and HTTP get at url
, using token
for authz.
Assumes a json response, and converts it to kebab-case key edn
Perform and HTTP get at `url`, using `token` for authz. Assumes a json response, and converts it to kebab-case key edn
(http-helper http-fn {:keys [url body token]})
A helper that captures what is common to all http requests
NOTE: The Auth0 http requests return status codes in their bodies on failure, and this is relied on, at least for the moment.
A helper that captures what is common to all http requests NOTE: The Auth0 http requests return status codes in their bodies on failure, and this is relied on, at least for the moment.
(http-patch url body token)
Perform an HTTP patch at url
, with body
, using token
for authz.
Assumes a json response, and converts it to kebab-case key edn
Perform an HTTP patch at `url`, with `body`, using `token` for authz. Assumes a json response, and converts it to kebab-case key edn
(http-post url body token)
Perform an HTTP post at url
, with body
, using token
for authz.
Assumes a json response, and converts it to kebab-case key edn
Perform an HTTP post at `url`, with `body`, using `token` for authz. Assumes a json response, and converts it to kebab-case key edn
(load-edn-config env-config)
Use the env-config
to locate the edn-config
filepath, and read it in
Use the `env-config` to locate the `edn-config` filepath, and read it in
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close