Currently, I am utilizing cljs-ajax to make a POST request like so:
(POST "http://example.com/some/endpoint"
{:body {:username "me"
:password "pass"}
:handler some-handler
:error-handler some-error-handler})
The issue is that the request payload includes colons before keywords. For instance, instead of sending username
, it sends :username
. Even after adding :format :json
, the problem persists.
What mistake have I made in my implementation?