Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[zh-cn]: Correct the link in tutorial of command line #18558

Closed
wants to merge 5 commits into from
Closed
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -261,9 +261,9 @@ ls | wc -l

## 一个稍微复杂一点的例子

让我们看一些更复杂的东西。我们将首先尝试获取 MDN 的“获取”页面的内容 `curl` 命令 (可用于从 url 请求内容)[https://developer.mozilla.org/en-US/docs/Web/API/fetch](/zh-CN/docs/Web/API/fetch).
让我们看一些更复杂的东西。我们将首先尝试获取 MDN 的“获取”页面的内容 `curl` 命令 (可用于从 url 请求内容)[https://developer.mozilla.org/zh-CN/docs/Web/API/WindowOrWorkerGlobalScope/fetch](/zh-CN/docs/Web/API/WindowOrWorkerGlobalScope/fetch).
Kino14910 marked this conversation as resolved.
Show resolved Hide resolved

但是,这个 URL 是页面的旧位置。如果你在一个新的浏览器标签中输入它,你将 (最终) 被重定向到[https://developer.mozilla.org/en-US/docs/Web/API/fetch](/zh-CN/docs/Web/API/fetch).
但是,这个 URL 是页面的旧位置。如果你在一个新的浏览器标签中输入它,你将 (最终) 被重定向到[https://developer.mozilla.org/zh-CN/docs/Web/API/fetch](/zh-CN/docs/Web/API/fetch).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
但是,这个 URL 是页面的旧位置。如果你在一个新的浏览器标签中输入它,你将 (最终) 被重定向到[https://developer.mozilla.org/zh-CN/docs/Web/API/fetch](/zh-CN/docs/Web/API/fetch).
但是,这个 URL 是页面的旧位置。如果你在一个新的浏览器标签中输入它,你将 (最终) 被重定向到 [https://developer.mozilla.org/zh-CN/docs/Web/API/fetch](/zh-CN/docs/Web/API/fetch)


因此,如果你使用 curl 请求 `https://developer.mozilla.org/docs/Web/API/fetch`,则不会得到输出。现在就试试:

Expand Down
Loading