请求、响应和服务器之间有什么区别?

发布于 2024-07-08 05:18:16 字数 24 浏览 6 评论 0原文

请求、响应和服务器之间有什么区别?

What is the difference between request, response and server?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

初雪 2024-07-15 05:18:17

请求:从客户端到服务器
响应:从服务器到客户端
服务器:接收请求并发送响应
客户端:发送请求并接收响应

Request : From Client to Server
Response: From Server to Client
Server: Receive Request and Send Response
Client: Send Request and Receive Response

遇见了你 2024-07-15 05:18:17

客户端(网络用户)向服务器发出请求,服务器处理请求并确定适当的响应

A client (web user) makes a Request to a Server which processes the Request and determines the appropriate Response

等风来 2024-07-15 05:18:17

服务器:为客户端提供某些东西的机器。

专注于服务器,
请求是到达服务器请求某些内容的消息。
响应是从服务器发送到客户端的消息,用于向客户端提供什么。

无论如何,REQUEST/RESPONSE 意味着您可以用常识来了解它。

也可以看看:
http://en.wikipedia.org/wiki/Request-response

Server: Machine that provide something for client.

Focus at Server,
Request is message that arrive to server for request something.
Response is message that send from server to client for give thing that client what.

anyway REQUEST/RESPONSE means you can know it with common sense.

See also:
http://en.wikipedia.org/wiki/Request-response

千年*琉璃梦 2024-07-15 05:18:17

第一个答案(Ramesh Soni 的答案)简单明了。 我还想分享与此相关的有用术语区别。

请求和查询有什么区别???

  • 首先,查询和请求都可以是名词和动词。 例如:

    • 我申请退款。
    • 我们收到了退款请求。
    • 我询问了价格。
    • 我们收到了有关价格的询问。
  • 请求某物是请求某物、物体或恩惠等。请求是礼貌的要求。 查询是询问某事,即您想要信息查询是一个问题

  • 此外,QUERY 是一个查询(Query 和 enquiry 是同义词
    它们都是请求,但区别在于QUERY是精确请求。 在信息学中,如果您需要有关某事物的信息,则需要发送包含精确信息的特定请求。

"我查询了有关用户帐户 Maxim Pavlov 的信息" = "我需要了解此网站的用户。特别是,我需要知道是否有任何 Maxim Pavlov 在此网站上注册"。

  • 如果您是阿拉伯语,则阿拉伯语的最佳翻译是:request = ÷ַa 和 query = Ùsṇอองออรรรรรรรรรรรรร

The 1st answer (Ramesh Soni's answer) is simple and concise. I also wanna share a useful terms distinction that's relevance to this.

What's the difference between request and query???

  • First of all, query and request can both be nouns and verbs. E.g:

    • I requested a refund.
    • We received a request for a refund.
    • I queried the price.
    • We received a query about the price.
  • To request something is to ask for something, an object or a favour etc. A request is a polite demand. To query is to ask about something i.e. you are wanting information. A query is a question.

  • Also, QUERY is an inquiry(Query and inquiry are synonyms)
    They are both requests but the difference is that the QUERY is a precise request. In informatics, if you need information about something you need to send a specific request with precise information.

"I queried information about user account Maxim Pavlov" = "I need to know about this website users. In particular, I need to know if there is any Maxim Pavlov registered on this site".

  • If you are Arabic, best translations in Arabic would be, request = طلب and query = إستعلام)
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文