Created
September 7, 2017 11:37
-
-
Save qleguennec/06cbf8e38012a152f80caf12614b6370 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(rf/reg-fx | |
:POST | |
(fn [{:keys [url params on-success on-fail]}] | |
(take! (http/post url {:form-params params}) | |
on-success))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment