From 3e68f50b5b69eb297858ef99a39fed79e451ff08 Mon Sep 17 00:00:00 2001 From: "abby.huang" <78209557+abby-cyber@users.noreply.github.com> Date: Sun, 8 Oct 2023 12:08:58 +0800 Subject: [PATCH] add `-s` in `curl` (#3023) --- .../1.configurations/1.configurations.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs-2.0/5.configurations-and-logs/1.configurations/1.configurations.md b/docs-2.0/5.configurations-and-logs/1.configurations/1.configurations.md index 253b4222345..50b82ca4aca 100644 --- a/docs-2.0/5.configurations-and-logs/1.configurations/1.configurations.md +++ b/docs-2.0/5.configurations-and-logs/1.configurations/1.configurations.md @@ -65,6 +65,12 @@ curl 127.0.0.1:19669/flags curl 127.0.0.1:19779/flags ``` +使用`-s`或者`--silent`参数可以隐藏进度条和错误信息。例如: + +```bash +curl -s 127.0.0.1:19559/flags +``` + !!! Note 实际环境中需使用真实的主机 IP 地址取代以上示例中的`127.0.0.1`。