Created
August 22, 2019 13:50
-
-
Save bakpakin/5ec81814f7e382db79db2a86fbb1f8d4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn http-get | |
"Get some HTTP using curl" | |
[url] | |
(with [f (file/popen (string "curl -s " url))] | |
(:read f :all))) | |
(http-get "https://www.google.com") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment