Experiment with http-get

This commit is contained in:
erik 2023-06-15 15:18:50 +02:00
parent 80feb82039
commit 76df00fac6

View file

@ -1,10 +1,10 @@
(ns activity-pub-poc.json-ld
(:require
[hato.client as http]
[hato.client :as http]
))
(defn json-get [url]
(hato/get url
(http/get url
{:headers {"Accept" "application/json"}
:http-client {:redirect-policy :normal}
:as :json-string-keys}))