# post
发送POST请求。
# 输入
继承标准对象输入,扩展属性描述
| 名称 | 数据类型 | 必填 | 默认值 | 描述 |
|---|---|---|---|---|
| url | sting | 是 | 请求地址 | |
| data | Object | 是 | JSON对象,请求参数 |
# 输出
继承标准对象输出,无扩展属性
# 示例代码
var url="http://10.201.76.142:8500/dataservice.ashx";
app.post(url,{type:"date"},function(res){
$("#result").html("返回值类型:"+typeof(res)+" 结果:"+ JSON.stringify(res));
},function(res){
app.alert(res);
});
//return
{"code":"200","returnValue":"2013/9/5 14:14:51"}