diff --git a/src/main/clj/dda/activity_pub_poc/json_ld.clj b/src/main/clj/dda/activity_pub_poc/json_ld.clj index 33c65e4..2088409 100644 --- a/src/main/clj/dda/activity_pub_poc/json_ld.clj +++ b/src/main/clj/dda/activity_pub_poc/json_ld.clj @@ -1 +1,10 @@ -(ns activity-pub-poc.json-ld) \ No newline at end of file +(ns activity-pub-poc.json-ld + (:require + [hato.client as http] + )) + +(defn json-get [url] + (hato/get url + {:headers {"Accept" "application/json"} + :http-client {:redirect-policy :normal} + :as :json-string-keys}))