How can i easily support both `application/xwww.fo...
# ktor
c
How can i easily support both
application/xwww.form-urlencoded
and
application/json
contents in Ktor? Is there a way to easily convert a form to the json format? 🤔 I know I'll probably have to create a custom
ContentConverter
, or is my assumption wrong?
a
Could you please explain why you want to convert a form parameters to a JSON?
c
Just so I can easily use all my POST/PUT calls with both contentTypes.