Added json response to license.

revert-70aa11f8
harshanL 10 years ago
parent aa2448dd0a
commit 6489ea1168

@ -39,7 +39,10 @@ public class Authentication {
@POST
@Path("/device/license")
@Produces("application/json")
public String getLicense() {
return "License Agreement";
JsonObject result = new JsonObject();
result.addProperty("licenseText", "License Agreement");
return result.toString();
}
}

Loading…
Cancel
Save