|
|
| 变量名 | 类 型 | 静态 | 数组 | 备 注 | | 局_网址 | 文本型 | | | | 局_方式 | 整数型 | | | | 局_提交数据 | 类_POST数据类_字节集 | | | | 局_提交cookie | 文本型 | | | | ADD_协议头 | 类_POST数据类 | | | | 局_提交协议头 | 文本型 | | | | 局_结果 | 文本型 | | | | boundary | 文本型 | | |
局_网址 = “https://www.haomaoai.com/api/user/upcheckfile”局_方式 = 1 boundary = 程序_生成GUID ()局_提交数据. 添加 (“file”, 读入文件 (“C:\Users\Administrator\Desktop\新建文本文档.txt”), “text/plain”, “1.txt”)ADD_协议头. 添加 (“Content-Type”, “multipart/form-data; boundary=----” + boundary, )ADD_协议头. 添加 (“Referer”, “https://www.haomaoai.com/index/user/tasknew.html?aigc”, )ADD_协议头. 添加 (“User-Agent”, “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.95 Safari/537.36”, )局_提交协议头 = ADD_协议头. 获取协议头数据 ()局_结果 = 编码_URL解码_快速 (到文本 (网页_访问_对象 (局_网址, 局_方式, , , , 局_提交协议头, , , , 局_提交数据. 获取Post数据 (boundary, 6 ), , , , , , , , , )), 真, )返回 (局_结果 )
|
|