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

HTTP 常见状态码总结#201状态码的一点点补充 #2458

Closed
fox-half-tian opened this issue Aug 19, 2024 · 1 comment
Closed

HTTP 常见状态码总结#201状态码的一点点补充 #2458

fox-half-tian opened this issue Aug 19, 2024 · 1 comment
Labels
perfect content improve the content

Comments

@fox-half-tian
Copy link
Contributor

🏠 [HTTP 常见状态码总结(应用层) | JavaGuide](https://javaguide.cn/cs-basics/network/http-status-codes.html#_2xx-success-成功状态码)

原文:

  • 201 Created:请求被成功处理并且在服务端创建了一个新的资源。比如我们通过 POST 请求创建一个新的用户。

一点点的补充:将“一个新的资源”修改为“一个或多个新的资源”。

可以参考:[RFC 9110 - HTTP Semantics (httpwg.org) - status.201](https://httpwg.org/specs/rfc9110.html#status.201)

image-20240819131513558

@Snailclimb
Copy link
Owner

Snailclimb commented Aug 19, 2024

fox-half-tian

一个或多个新的资源

细节👍已完善:

image

@Snailclimb Snailclimb added the perfect content improve the content label Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
perfect content improve the content
Projects
None yet
Development

No branches or pull requests

2 participants