This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-09-05
Channels
- # announcements (4)
- # beginners (21)
- # calva (3)
- # clj-http (3)
- # clj-kondo (10)
- # clojars (5)
- # clojure (4)
- # clojure-europe (5)
- # clojurescript (71)
- # datomic (3)
- # fulcro (18)
- # helix (5)
- # introduce-yourself (2)
- # missionary (1)
- # off-topic (19)
- # polylith (21)
- # reagent (3)
- # shadow-cljs (28)
- # tools-deps (6)
- # xtdb (30)
@dharrigan I tried that but it still gives “{\“message\“:\“API KEY missing from x-api-key header\“}”
@ps it seems you are concatenating the map containing headers inside str
- perhaps it should be this instead?
(client/get (str " "
(-> req :params :contract-address)
"/owners?chain=eth&format=decimal")
{:headers {:accept "application/json" "X-API-Key" "myapikey"}})
yes that fixed it