clj-http icon indicating copy to clipboard operation
clj-http copied to clipboard

Add note about :content-type encoding

Open danielcompton opened this issue 2 years ago • 1 comments

I was confused about this and assumed I could also use :body. I thought this might help others too. LMK if I've misunderstood something here.

danielcompton avatar May 25 '23 23:05 danielcompton

:content-type is for specifying the content type header for:body, for example, {:content-type :json} means that the Content-Type: application/json header will be added to the request.

dakrone avatar May 26 '23 19:05 dakrone