Skip to content

Instantly share code, notes, and snippets.

@brunapereira
Created January 11, 2020 22:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brunapereira/9acba6259b62751694e48aeb2029d75a to your computer and use it in GitHub Desktop.
Save brunapereira/9acba6259b62751694e48aeb2029d75a to your computer and use it in GitHub Desktop.
get(
url = "/login",
responseClass = Token::class,
queryParameters = mapOf("admin", "true")
)
get(
url = "/login",
responseClass = Token::class,
headers = mapOf("Accept-Version", "v1")
)
get(
url = "/login",
responseClass = Token::class,
queryParameters = mapOf("admin", "true")
headers = mapOf("Accept-Version", "v1")
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment