同问,有没有解决的方法?可否QQ聊聊?我的QQ:623868893
凑合用Microsoft.XMLHttp吧,付个烂代码凑合看吧 String ls_url,ls_data,ls_response ls_url = 'https://passport.uuzu.com/login.php' ls_data = 'act=login&rurl=http://10.uuzu.com&username=name&password=pass' OleObject lole_tenyear lole_tenyear = CREATE oleobject lole_tenyear.ConnectToNewObject("Microsoft.XMLHttp") // //lole_tenyear.ConnectToNewObject('WinHttp.WinHttpRequest.5.1') lole_tenyear.open ("POST",ls_url, false) lole_tenyear.setRequestHeader ("Content-type", "application/x-www-form-urlencoded") lole_tenyear.setRequestHeader('Content-Length',string(len(ls_data))) lole_tenyear.send (ls_data) ls_response = lole_tenyear.responseText m(ls_response) IF lole_tenyear.Status >= 300 THEN MessageBox ("HTTP request failed:", lole_tenyear.StatusText ,Exclamation!,OK!) END IF // destroy lole_tenyear
我也碰到类似的接口,要求如下: 一、数据格式 1. 数据采用xml 2. Xml定义参考xml示例文件 3. Xml必须通过Schema 验证(Schema见文件夹) 4. 数据字典在选项xml文件夹下 请求地址 http://www.cnstroke.com/ DataInterface/ ArchivesAdd.ashx 请求类型 POST 请求参数 参数类型 备注 xmlStr string Xml字符串 uuid string 单位编码 authCode string 单位接口授权码 不知道怎么弄。。
662
社区成员
2,333
社区内容
加载中
试试用AI创作助手写篇文章吧