argpost

阅读(2323) 标签: post, 参数调用,

描述:

post方式传送参数调用时的参数名称。

备注:

dfx中可设置一个名称为argpost的参数,该参数表示post方式传递的串。

示例:

argtest.dfx

网格参数:

 

A

 

1

return argpost

dfx中返回argpost参数。

通过url访问argtest.dfx,使用post方式传参,test.html内容:

<form method=post action="http://127.0.0.1:8503/argtest.dfx">

<input type=text name="aa" value="aa111">

<input type=text name="bb" value="bb222">

<input type=submit value=submit>

</form>

启动HTTP服务,访问test.html

点击【submit】按钮,结果如下: