title: Using clj-http.cookies to set cookie in request
body: <p>I am trying to create a client cookie for clj-http so that I can set a cookie for a request. Currently I have the cookie data in the format [cookie-name cookie-val]</p>
  
  <p>I then call to-basic-client-cookie like so:</p>
  
  <p>(clj-http.cookies/to-basic-client-cookie [cookie-name cookie-val])</p>
  
  <p>However, this produces a null pointer exception. Anyone know if I am calling this wrong? Pretty new to clojure, so sorry if this is a dumb question.</p>