re-frame-http-fx icon indicating copy to clipboard operation
re-frame-http-fx copied to clipboard

Provide default request-format

Open superstructor opened this issue 5 years ago • 1 comments

Same as #4 except for :format instead of :response-format.

If not provided when doing a POST (for example) get a 'unrecognized request format nil' exception.

superstructor avatar May 14 '19 23:05 superstructor

You need to use :body if you dont include a :format. The request ends up as edn, so I also stick this in. :headers {:content-type "application/edn"}

sirmspencer avatar Dec 01 '22 20:12 sirmspencer