Andriod post Api与返回值

vs后台api控制器  post接收参数----HttpContext.Current.Request.Params["account"].ToString()

返回值为对象返回,as接收,类似值"{"status":"ok","token":"token"}",而后再转换成对象。

低版本的web请求添加的包:

andriod-async-http-1.4.8,httpcore-4.4.7
原文地址:https://www.cnblogs.com/w1-y2-q5/p/8707957.html