Skip to content

Instantly share code, notes, and snippets.

@theboreddev
Created Oct 24, 2021
Embed
What would you like to do?
Returning response
fun findEmployeeByName(name: String): Response {
val request = Request(Method.GET, "http://myservice.org/employees").query("name", name)
return client(request)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment