Add json-get from souk

This commit is contained in:
erik 2023-06-15 15:00:46 +02:00
parent bbde1d7f83
commit 0055b159b1

View file

@ -1 +1,10 @@
(ns activity-pub-poc.json-ld) (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}))