Hello, I don’t understand how to receive query par...
# ktor
v
Hello, I don’t understand how to receive query parameter. I saw in the documentation : https://ktor.io/features/routing.html use param(name) but do you have an example please ?
1
d
by query parameters do you mean
?k1=v1&k2=v2
?
if so,
val param1: String? = request.queryParameters["param1"]
as specified in that link
v
Ok I was just not on the good page, thank you !
d
I have put a link https://github.com/ktorio/ktorio.github.io/commit/9ef5658cb4aefa55fd934796baaea8f1c927cc39 to make it easier to find the right page 🙂
👍 1