-
-
Save theboreddev/b996e9ad5f649a6d11d70f4129eb9f72 to your computer and use it in GitHub Desktop.
Returning response
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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