Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/69.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
卷曲窗口不显示html响应_Html_Windows_Curl_Console - Fatal编程技术网

卷曲窗口不显示html响应

卷曲窗口不显示html响应,html,windows,curl,console,Html,Windows,Curl,Console,有没有办法不在控制台中显示html响应?它减慢了我的项目,我想禁用它 我只是用 卷曲 谢谢您可以将输出定向到/dev/null curl http://www.mysite.com > /dev/null 在类unix系统上可以将输出重定向到/dev/null,在windows系统上可以将输出重定向到NUL。或者只是将其保存到一个文件中,只有在出现问题时才进行检查 您可以使用shell操作符>重定向输出,也可以使用curl的.o(小写字母o)选项。下面介绍如何在windows上执行此操作

有没有办法不在控制台中显示html响应?它减慢了我的项目,我想禁用它

我只是用

卷曲


谢谢

您可以将输出定向到/dev/null

curl http://www.mysite.com > /dev/null

在类unix系统上可以将输出重定向到/dev/null,在windows系统上可以将输出重定向到NUL。或者只是将其保存到一个文件中,只有在出现问题时才进行检查


您可以使用shell操作符>重定向输出,也可以使用curl的.o(小写字母o)选项。

下面介绍如何在windows上执行此操作

curl "http://example.com" -o NUL

这告诉curl将输出下载到windows,相当于您使用的是什么操作系统?我想他指的是运行curl的界面中的windows,而不是操作系统。(基于他没有使用术语“curl.exe”或“命令提示符”。)