Compare commits
2 commits
78b49b3cc2
...
0055b159b1
Author | SHA1 | Date | |
---|---|---|---|
0055b159b1 | |||
bbde1d7f83 |
2 changed files with 18 additions and 2 deletions
|
@ -4,7 +4,14 @@
|
|||
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
|
||||
:url "https://www.eclipse.org/legal/epl-2.0/"}
|
||||
:dependencies [[org.clojure/clojure "1.11.1"]
|
||||
[hato/hato {:mvn/version "0.9.0"}]]
|
||||
;; Incoming HTTP
|
||||
[ring/ring-core "1.9.6"]
|
||||
[ring/ring-jetty-adapter "1.9.6"]
|
||||
[ring/ring-mock "0.4.0"]
|
||||
[metosin/muuntaja "0.6.8"]
|
||||
[metosin/reitit "0.5.18"]
|
||||
;; Outgoing HTTP
|
||||
[hato/hato "0.9.0"]]
|
||||
:main ^:skip-aot activity-pub-poc.core
|
||||
:target-path "target/%s"
|
||||
:profiles {:uberjar {:aot :all}})
|
||||
|
|
|
@ -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}))
|
||||
|
|
Loading…
Reference in a new issue