I've registered an answer there first because I thought it's a problem of not being familiar with ring and compojure-api. But there is not so much people traffic. If you're interested in more details then read the SO question too.
As I understand the (:body req) is already consumed somewhere but I don't know where and I'd like to get the output of it.
I've read how restructuring works in Compojure api method but it only supports known keys.
Library Version(s)
Problem
I want to get all form/body parameters (or body string) in my request. I've tested out many ways and I can't find any way to do it. I added many details in this SO question: https://stackoverflow.com/questions/61206840/how-do-i-obtain-all-of-plain-post-form-parameters-in-compojure-api-sweet
I've registered an answer there first because I thought it's a problem of not being familiar with ring and compojure-api. But there is not so much people traffic. If you're interested in more details then read the SO question too.
Code (SO version contains longer one):
As I understand the
(:body req)
is already consumed somewhere but I don't know where and I'd like to get the output of it. I've read how restructuring works in Compojure api method but it only supports known keys.