|
楼主 |
发表于 2015-6-2 14:49:20
|
显示全部楼层
POST http://207.46.144.206/api/Core/v ... 4v-yKJfpvBghB1H73Gg HTTP/1.1
Host: 207.46.144.206
User-Agent: Dalvik/1.6.0 (Linux; U; Android 4.1.2; HUAWEI A199 Build/HuaweiA199)
Accept-Encoding: gzip, deflate
Connection: keep-alive
Accept: */*
Content-Type: application/json
Content-Length: 96
这是抓出来的东西,下面是我写的,有错吗,返回信息{"ErrorCode":-1,"ErrorCodeDescription":"服务器发生意外错误","ErrorMessage":"Object reference not set to an instance of an object."}
item = new HttpItem()//post注册大众
{
URL = "http://207.46.144.206/api/Core/v200/appUser/Register?appKey=3iSwRGoYa7_I_ZRYg-LAzc6OjXGvaK1OIPnegJe9XmljjknPPYBSYYoNe01VqwsiEfE4v-yKJfpvBghB1H73Gg",
Method = "post",
Postdata = "{\"DeviceId\":3,\"Email\":\"5875868@qq.com\",\"Password\":\"11111\",\"Name\":\"号池\",\"NickName\":\"号池\"}",
Accept = "*/*",
ContentType = "application/json",
UserAgent = "Dalvik/1.6.0 (Linux; U; Android 4.1.2; HUAWEI A199 Build/HuaweiA199)",
};
result = http.GetHtml(item); |
|