clojure-uk

A place for people in the UK, near the UK, visiting the UK, planning to visit the UK or just vaguely interested to randomly chat about things (often vi and emacs, occasionally clojure). More general the #ldnclj
dharrigan 2021-03-22T04:48:24.049900Z

Morning.

👋 1
1
djm 2021-03-22T06:47:25.050400Z

👋

alexlynham 2021-03-22T08:49:11.050800Z

morning

danm 2021-03-22T09:06:18.051Z

Morning!

danm 2021-03-22T09:06:46.051600Z

I can open my eye again! (managed to scratch my cornea on a tiny twig in the dark on Saturday...)

jiriknesl 2021-03-22T09:21:12.051800Z

Good morning

thomas 2021-03-22T09:35:57.052Z

moin moin

vhalli 2021-03-22T09:43:10.052200Z

Morning!

dharrigan 2021-03-22T09:43:27.052300Z

Hope you recover soon!

2021-03-22T09:58:56.052600Z

Morn'

danm 2021-03-22T12:57:15.053900Z

Argh, why does clj-http not auto-encode the input body from a Clojure map to JSON when you use :as :json/`:content-type :json`? 😞

dharrigan 2021-03-22T13:10:08.054300Z

Hmm, encodes for me

dharrigan 2021-03-22T13:10:54.054800Z

the form-params gets sent out as json

dharrigan 2021-03-22T13:11:46.055500Z

I was talking bollocks

dharrigan 2021-03-22T13:11:54.055700Z

sorry about that

dharrigan 2021-03-22T13:12:55.055900Z

Yeah, in other code, I had to do this:

dharrigan 2021-03-22T13:13:05.056200Z

POST -> :body (json/generate-string {:username username :password password})})