dodalovic
11/23/2022, 8:54 PMhttpClient.get("/whatever") {
attributes.put("operation", "whatever")
}
and then in my validator:
val client = HttpClient(CIO) {
install(ContentNegotiation) { json() }
HttpResponseValidator {
validateResponse { response ->
if response.request.attributes["operation"] == "whatever"
//whatever
}
}
}
is this possible at alldodalovic
11/23/2022, 8:57 PMAleksei Tirman [JB]
11/24/2022, 8:40 AMAttributes
should work.