2023-06-15 13:00:46 +00:00
|
|
|
(ns activity-pub-poc.json-ld
|
|
|
|
(:require
|
2023-06-15 13:18:50 +00:00
|
|
|
[hato.client :as http]
|
2023-06-16 13:46:24 +00:00
|
|
|
[clojure.inspector :as inspector]
|
2023-06-15 13:00:46 +00:00
|
|
|
))
|
|
|
|
|
|
|
|
(defn json-get [url]
|
2023-06-15 13:18:50 +00:00
|
|
|
(http/get url
|
2023-06-15 13:00:46 +00:00
|
|
|
{:headers {"Accept" "application/json"}
|
|
|
|
:http-client {:redirect-policy :normal}
|
|
|
|
:as :json-string-keys}))
|