
popa.bogdanp
2020-6-13 09:43:35
I think I might combine the two, with
(post ... #:json x)
being a shorthand for
(post ... #:data (json-payload x))
This might make supporting compression and file uploads easier + it seems like it’ll simplify the implementation.

popa.bogdanp
2020-6-13 13:00:53
Compression worked out to just
(post
#:data (gzip-payload (json-payload x))
...)
which I think is pretty good.

sorawee
2020-6-13 13:16:54
wow, a payload combinator!