Experiment with http-get
This commit is contained in:
parent
80feb82039
commit
76df00fac6
1 changed files with 2 additions and 2 deletions
|
@ -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