<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Clojure on traviscj/blog</title>
    <link>https://traviscj.com/blog/tags/clojure/</link>
    <description>Recent content in Clojure on traviscj/blog</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 01 Feb 2017 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://traviscj.com/blog/tags/clojure/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>basic http requests and server handlers in clojure</title>
      <link>https://traviscj.com/blog/post/2017-02-01-basic_http_requests_and_server_handlers_in_clojure/</link>
      <pubDate>Wed, 01 Feb 2017 00:00:00 +0000</pubDate>
      <guid>https://traviscj.com/blog/post/2017-02-01-basic_http_requests_and_server_handlers_in_clojure/</guid>
      <description>&lt;p&gt;I&amp;rsquo;ve been playing around a tiny bit with &lt;a href=&#34;https://clojure.org/&#34;&gt;clojure&lt;/a&gt;, and wanted to document the process of doing something pretty basic: make a project that can request my website over HTTPs.&lt;/p&gt;&#xA;&lt;p&gt;The first step is pretty easy:&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;brew install leiningen&#xA;lein new random-experimentation&#xA;cd random-experimentation&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;and add &lt;code&gt;[clj-http &amp;quot;3.4.1&amp;quot;]&lt;/code&gt; to &lt;code&gt;project.clj&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;The HTTPS part is a bit trickier.&#xA;The JDK doesn&amp;rsquo;t include the &lt;a href=&#34;https://letsencrypt.org/&#34;&gt;Letsencrypt&lt;/a&gt; certificates.&#xA;But I found a simple script &lt;a href=&#34;https://gist.github.com/Firefishy/109b0f1a90156f6c933a50fe40aa777e&#34;&gt;install-letsencrypt-in-jdk.sh&lt;/a&gt; that can set it up.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
