Compare commits
No commits in common. "0f940aaaefb1c8f98a115dffe475525e1bdaab75" and "7596ecc6465d04816c241700969f7171a6da4c71" have entirely different histories.
0f940aaaef
...
7596ecc646
3 changed files with 6 additions and 11 deletions
|
@ -16,4 +16,4 @@
|
||||||
[com.cognitect/transit-clj "1.0.333"]]
|
[com.cognitect/transit-clj "1.0.333"]]
|
||||||
:main ^:skip-aot activity-pub-poc.core
|
:main ^:skip-aot activity-pub-poc.core
|
||||||
:target-path "target/%s"
|
:target-path "target/%s"
|
||||||
:profiles {})
|
:profiles {:uberjar {:aot :all}})
|
||||||
|
|
|
@ -1,16 +1,11 @@
|
||||||
(ns activity-pub-poc.json-ld
|
(ns activity-pub-poc.json-ld
|
||||||
(:require
|
(:require
|
||||||
[hato.client :as http]
|
[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]
|
(defn json-get [url]
|
||||||
(:body
|
|
||||||
(http/get url
|
(http/get url
|
||||||
{:headers {"Accept" "application/json"}
|
{:headers {"Accept" "application/json"}
|
||||||
:http-client {:redirect-policy :normal}
|
:http-client {:redirect-policy :normal}
|
||||||
:as :json-string-keys})))
|
:as :json-string-keys}))
|
||||||
|
|
||||||
(ins/inspect-tree (json-get team-url))
|
|
||||||
|
|
Loading…
Reference in a new issue