(api-url {:keys [server api]})Returns the constructed api url.
Returns the constructed api url.
(fetch-all {:as app-conf :keys [ignore-cert-warnings]} find-elements)Fetch everything at url from remote server and return a sequence of locs based on the supplied function. In other words - grab the xml from the url via a GET request, extract the :body of the result, parse the XML, create a 'zipper', and return the result of the function on the xml zipper.
Fetch everything at url from remote server and return a sequence of locs based on the supplied function. In other words - grab the xml from the url via a GET request, extract the :body of the result, parse the XML, create a 'zipper', and return the result of the function on the xml zipper.
(post-xml {:keys [server ignore-cert-warnings]}
path
params
query-params
multipart?)HTTP multipart posts the params of the api to the server. Multiple params are supported and should be passed as one or more [name value] vectors. Name should be a string and value should be an xml string.
HTTP multipart posts the params of the api to the server. Multiple params are supported and should be passed as one or more [name value] vectors. Name should be a string and value should be an xml string.
(put-xml {:keys [server el-loc ignore-cert-warnings api]} params)HTTP PUTs the current api and el-loc to the server.
HTTP PUTs the current api and el-loc to the server.
(with-authentication
{:as app-conf :keys [server username password token ignore-cert-warnings]}
func)Binds a cookie store to keep auth cookies, authenticates using the supplied url/credentials or token, and returns the results of executing the supplied parameterless function for side effects
Binds a cookie store to keep auth cookies, authenticates using the supplied url/credentials or token, and returns the results of executing the supplied parameterless function for side effects
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |