6
Q
发送HTTP请求
A
回答
4
此扩展程序可以在没有UI的情况下下载; http://www.sherlocksoftware.org/page.php?id=50(通过ITD_DownloadFiles
)
1
var
WinHttpReq: Variant;
begin
WinHttpReq := CreateOleObject('WinHttp.WinHttpRequest.5.1');
WinHttpReq.Open('GET', 'https://www.example.com/', False);
WinHttpReq.Send('');
if WinHttpReq.Status <> 200 then
begin
Log(Format('HTTP error: %d %s', [Integer(WinHttpReq.Status), WinHttpReq.StatusText]));
end
else
begin
Log(Format('HTTP Response: %s', [WinHttpReq.ResponseText]));
end;
end;
相关问题
- 1. 发送HTTP请求
- 2. 发送HTTP请求(验证请求)
- 3. 发送HTTP POST请求
- 4. JAVA发送POST http请求
- 5. Http请求发送到BW
- 6. 同步发送http请求
- 7. 发送HTTP POST请求
- 8. Wit.ai POST /发送HTTP请求
- 9. 字API发送HTTP请求
- 10. 发送原始HTTP请求
- 11. 用swift发送http请求
- 12. NodeJS - TCP - 发送HTTP请求
- 13. MediaPlayer不发送HTTP请求?
- 14. Symfony2:发送HTTP请求
- 15. 从Netduino发送HTTP请求
- 16. 发送http请求in Ionic with Angular http
- 17. 在发送其他http请求之前发送http请求angular 2
- 18. 通过ASP.net发送HTTP发布请求
- 19. 发生操作后发送HTTP请求
- 20. 在发布请求中发送http url作为请求参数
- 21. Facebook发送请求不发送请求
- 22. Android Developer Console如何发送HTTP请求?
- 23. 无法发送curl的HTTP/2请求
- 24. Java在发送http请求时java.io.EOFException?
- 25. 发送HTTP请求通过python脚本
- 26. 通过ASP.NET C发送HTTP请求#
- 27. 用C#HttpWebRequest或WebClient发送HTTP请求?
- 28. 使用Wininet发送多个Http请求
- 29. 如何让Ajax.ActionLink发送Http Post请求?
- 30. 设置发送HTTP请求的时间