https://kotlinlang.org logo
#ktor
Title
# ktor
f

functionaldude

01/24/2019, 8:03 PM
Hi! I read this tutorial https://ktor.io/advanced/utilities.html. This states that
parseUrlEncodedParameters(...)
is used to parse the form-url encoded data from the request body, but then I looked at the function source, the comment said
Parse URL query parameters. Shouldn't be used for urlencoded forms because of "+" character.
I assume this function is only ment to be used on the actual URL parameter, but not on the body. I also found a function
parseQueryString(...)
which produces the correct result on the body. Is this just an oversight in the docs, or am I missing something?
v

vonox7

01/25/2019, 11:30 AM
@Deactivated User?
9 Views