脚本向导-帮助文档

脚本向导-帮助文档


HttpPost

<h1>功能</h1> <p>HttpPost请求。</p> <h1>输入</h1> <table> <thead> <tr> <th style="text-align: center;">名称</th> <th style="text-align: center;">说明</th> <th style="text-align: center;">示例</th> </tr> </thead> <tbody> <tr> <td style="text-align: center;">URL[*]</td> <td style="text-align: center;">【字符串】要输入的网址。</td> <td style="text-align: center;">'<a href="http://fanyi.youdao.com/">http://fanyi.youdao.com/</a>'</td> </tr> <tr> <td style="text-align: center;">请求头</td> <td style="text-align: center;">【字符串】要输入的请求头的名称和键值。</td> <td style="text-align: center;">数据</td> </tr> <tr> <td style="text-align: center;">请求数据</td> <td style="text-align: center;">【字符串】要输入的请求数据的名称和键值</td> <td style="text-align: center;">数据</td> </tr> <tr> <td style="text-align: center;">Http数据</td> <td style="text-align: center;">【THttpData】Http请求数据,如果为空,使用请求数据参数。</td> <td style="text-align: center;">空</td> </tr> </tbody> </table> <h1>输出</h1> <table> <thead> <tr> <th style="text-align: center;">名称</th> <th style="text-align: center;">说明</th> <th style="text-align: center;">示例</th> </tr> </thead> <tbody> <tr> <td style="text-align: center;">代理参数</td> <td style="text-align: center;">【字符串】输入的格式为 地址:端口</td> </tr> <tr> <td style="text-align: center;">SSL</td> <td style="text-align: center;">【整型】空/SSLv2/SSLv23/SSLv3/TLSv1,根据需求选择</td> <td style="text-align: center;">SSLv2</td> </tr> <tr> <td style="text-align: center;">编码</td> <td style="text-align: center;">【整型】UTF8/GBK,根据需求选择,默认为UTF8</td> <td style="text-align: center;">UTF8</td> </tr> <tr> <td style="text-align: center;">超时(毫秒)</td> <td style="text-align: center;">【整型】指定最长等待时间(以毫秒为单位),如果超出该时间活动未运行,就会报错。默认值为30000毫秒(30秒)</td> </tr> </tbody> </table> <h1>输出</h1> <table> <thead> <tr> <th style="text-align: center;">名称</th> <th style="text-align: center;">说明</th> <th style="text-align: center;">示例</th> </tr> </thead> <tbody> <tr> <td style="text-align: center;">结果</td> <td style="text-align: center;">【字符串】返回该网址的超文本标记语言(html)</td> <td style="text-align: center;">输出(创建变量)</td> </tr> </tbody> </table> <h1>注意/说明</h1> <p>1.http:(HyperText Transfer Protocol)超文本传输协议,https:(Secure Hypertext Transfer Protocol)安全超文本传输协议。 2.请求头、请求数据的输入格式如下图: <img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/4c303fdc0776cecf0c648673477d96f4" alt="" /> <img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/6321063035ea638bb71c30ef553f5220" alt="" /></p> <h1>相关函数</h1> <p>无</p> <h1>示例/演示</h1> <p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/77503d6b01995bc756fbe7c799d2a0fb" alt="" /></p> <h1>示例附件</h1> <p><a href="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/1e902063a40f30f6a2f7e35354f08b13" title="[组件[HttpPost]_20210513.db">组件[HttpPost]_20210513.db</a></p>

页面列表

ITEM_HTML