From 76df00fac6661ee0b31fdb58bbc080476cf2dc15 Mon Sep 17 00:00:00 2001 From: erik Date: Thu, 15 Jun 2023 15:18:50 +0200 Subject: [PATCH] Experiment with http-get --- src/main/clj/dda/activity_pub_poc/json_ld.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 2088409..4174b76 100644 --- a/src/main/clj/dda/activity_pub_poc/json_ld.clj +++ b/src/main/clj/dda/activity_pub_poc/json_ld.clj @@ -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}))