Examples of AdminCreateUserDto


Examples of org.multibit.mbm.client.interfaces.rest.api.user.AdminCreateUserDto

  }

  @Test
  public void adminCreateUserAsHalJson() throws Exception {

    AdminCreateUserDto createUserRequest = new AdminCreateUserDto();
    createUserRequest.setUsername("charlie");
    createUserRequest.setPasswordDigest("charlie1");

    String actualResponse = configureAsClient("/admin/user")
      .accept(HalMediaType.APPLICATION_HAL_JSON)
      .entity(createUserRequest, MediaType.APPLICATION_JSON_TYPE)
      .post(String.class);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.