回复 2# flashercs
感谢大佬帮助,测试成功。给大佬发个小红包
再请教一个问题,我用curl执行一个请求,url其实是返回了一个IP地址,怎么把返回的内容(ip)赋予一个变量- StatusCode : 200
- StatusDescription : OK
- Content : 192.168.10.123
- RawContent : HTTP/1.1 200 OK
- Upgrade: h2,h2c,http/2
- Connection: Upgrade, close
- Content-Length: 14
- Content-Type: text/html; charset=UTF-8
- Date: Mon, 30 May 2022 04:54:55 GMT
- Server: ...
- Forms : {}
- Headers : {[Upgrade, h2,h2c,http/2], [Connection, Upgrade, close], [Content-Length, 14
- ]...}
- Images : {}
- InputFields : {}
- Links : {}
- ParsedHtml : mshtml.HTMLDocumentClass
- RawContentLength : 14
复制代码
|