From 873f7206fcd236388d24ad23cde7c6f202cb3a50 Mon Sep 17 00:00:00 2001 From: Joscha Date: Sat, 25 Mar 2017 14:27:16 +0100 Subject: [PATCH] Fix for example: Request format is mandatory Like documented in the example: https://github.com/Day8/re-frame-http-fx#step-2-registration-and-use --- docs/Talking-To-Servers.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/Talking-To-Servers.md b/docs/Talking-To-Servers.md index ebf74d5..c998644 100644 --- a/docs/Talking-To-Servers.md +++ b/docs/Talking-To-Servers.md @@ -143,6 +143,7 @@ Here's our rewrite: ;; we return a map of (side) effects {:http-xhrio {:method :get :uri "http://json.my-endpoint.com/blah" + :format (ajax/json-request-format) :response-format (ajax/json-response-format {:keywords? true}) :on-success [:process-response] :on-failure [:bad-response]}