开发者社区 问答 正文

这个json安卓注册代码怎么写?

public static void testRegister()
 {
 Http c = new Http();
 String params = "{'name':'test1','pwd':'123','ruid':'test2'}";
 Eryptogram eryptogram = new Eryptogram();
 params = eryptogram.encryptData(params);
 String d = url + "/api/user/register?params=" + params;
 System.out.println(d);
 System.out.println(c.get(d));
 }

这个安卓注册代码怎么写?

展开
收起
杨冬芳 2016-07-04 17:00:53 1996 分享 版权
1 条回答
写回答
取消 提交回答