Compare commits

..

No commits in common. "0f940aaaefb1c8f98a115dffe475525e1bdaab75" and "7596ecc6465d04816c241700969f7171a6da4c71" have entirely different histories.

3 changed files with 6 additions and 11 deletions

View file

@ -16,4 +16,4 @@
[com.cognitect/transit-clj "1.0.333"]]
:main ^:skip-aot activity-pub-poc.core
:target-path "target/%s"
:profiles {})
:profiles {:uberjar {:aot :all}})

View file

@ -1,16 +1,11 @@
(ns activity-pub-poc.json-ld
(:require
[hato.client :as http]
[clojure.inspector :as ins]
[clojure.inspector :as inspector]
))
(def team-url "https://social.meissa-gmbh.de/users/team")
(defn json-get [url]
(:body
(http/get url
{:headers {"Accept" "application/json"}
:http-client {:redirect-policy :normal}
:as :json-string-keys})))
(ins/inspect-tree (json-get team-url))
(http/get url
{:headers {"Accept" "application/json"}
:http-client {:redirect-policy :normal}
:as :json-string-keys}))