Hi, can Ktor Locations read the json body of a POST/PUT request and convert it to the expected entity in the route or a way to extend it into doing so? Looking at the code I only see a DefaultConversionService so maybe I should be able to create another one somehow?
lifk
09/11/2017, 7:27 PM
or for what I see maybe I just need to extract the parameters from the json as send them to this conversion service. I'll try to play more with it
o
orangy
09/11/2017, 7:54 PM
Locations are for uri + query/path params, they are not designed for request bodies