Skip to content

Instantly share code, notes, and snippets.

@zaur
Created February 2, 2013 14:21
Show Gist options
  • Save zaur/4697545 to your computer and use it in GitHub Desktop.
Save zaur/4697545 to your computer and use it in GitHub Desktop.
URI uri = UriBuilder.create()
.queryParam("method", "user.authorize")
.queryParam("email", email)
.queryParam("password", password)
.build();
JsonNode result = get(uri);
User user = readValue(mObjectMapper, result.get("user"), User.class);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment