p-himik 2020-12-05T04:28:35.419200Z

That's just how the cljs-ajax library works - it calls name on each key of the :params map of a :get request. BTW :format key is completely ignored for :get requests.

p-himik 2020-12-05T04:31:01.419400Z

If you really need a namespaced parameter, you can encode it yourself, e.g. {"person/id" 123}. But you will have to make sure that your web server handles it correctly. E.g. (keyword "a/b") creates a keyword :b with the namespace a, but (keyword nil "a/b") creates a keyword :a/b with a nil namespace.

tobias 2020-12-05T06:15:02.419600Z

Thanks for explaining! I just found it surprising that namespaces were dropped but if that's how it's meant to work I can deal with it. Yeah, good to know that :format is ignored for :get. I was spinning my wheels for a while trying out all the different options.

tobias 2020-12-05T11:50:26.419800Z

Woah, that (keyword nil "a/b") is crazy, making the name be a/b and the namespace nil , I didn't know you could do that.

p-himik 2020-12-05T11:52:17.420Z

Needless to say, you shouldn't really rely on that. :)