Replies: 1 comment
-
Hi @gaberger, thanks for letting me know. Mine is: {:first-step "step",
:properties {:API_TOKEN "token", :FWD_USER "user"},
:revision 2,
:name "demo3",
:steps [{:properties {:as :json,
:url #titanoboa.exp/Expression{:value "(mapv #(str \"https://jsonplaceholder.typicode.com/posts/\" %) (range 1 10))",
:type nil},
:body-only? true,
:response-property-name :rest-response,
:basic-auth2 #titanoboa.exp/Expression{:value " [(:FWD_USER *properties*) (:API_TOKEN *properties*)] ",
:type "clojure"},
:request-method :get},
:revision 1,
:type :http-client,
:next [],
:id "step",
:supertype :tasklet,
:workload-fn #titanoboa.exp/Expression{:value "io.titanoboa.tasklet.httpclient/request",
:type "clojure"}}],
:type nil} I can see that the :basic-auth2 get resolved to the vector with no issues. My ext dependencies are: {:coordinates [[io.titanoboa.tasklet/http-client "0.1.1"]],
:require [[io.titanoboa.tasklet.httpclient]],
:repositories {"clojars" "https://clojars.org/repo",
"central" "https://repo1.maven.org/maven2/"},
:import [[nil]]} The question might be where you defined Cheers |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using the docker container which is at 0.9.0. clj-http requires
basic-auth
key for authorization.This is not evaling
:basic-auth2 #titanoboa.exp/Expression{:value " [(:FWD_USER *properties*) (:API_TOKEN *properties*)] ", :type "clojure"},
Beta Was this translation helpful? Give feedback.
All reactions