Compare commits
3 commits
79b9e66bca
...
76df00fac6
Author | SHA1 | Date | |
---|---|---|---|
76df00fac6 | |||
80feb82039 | |||
257eab73e0 |
3 changed files with 4 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -14,3 +14,4 @@ pom.xml.asc
|
|||
.clj-kondo/.cache/
|
||||
.clj-kondo/metosin/
|
||||
.lsp/.cache/
|
||||
.calva
|
|
@ -11,7 +11,7 @@
|
|||
[metosin/muuntaja "0.6.8"]
|
||||
[metosin/reitit "0.5.18"]
|
||||
;; Outgoing HTTP
|
||||
[hato/hato "0.9.0"]]
|
||||
[hato "0.9.0"]]
|
||||
:main ^:skip-aot activity-pub-poc.core
|
||||
:target-path "target/%s"
|
||||
:profiles {:uberjar {:aot :all}})
|
||||
|
|
|
@ -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}))
|
||||
|
|
Loading…
Reference in a new issue