Understanding get post http request mode, etc.

This article is to gather information and learn about several get, post and other request methods, HTTP, involving point HTTP2 agreement,
and then referred to the socket protocol, RPC


First, a number of exchanges and dialogue with friends, asked asked my knowledge on to the blind. We need to study intensively the knowledge in this area.
A friend asked: get requests a way that is not just unilateral acceptance of data sent by the server?
I answer: the first phrase and the last part, you did not associate it? Request mode, all requests way, are able to accept data, that is, ah format, type ah, ah way is not the same
friend asked: get the hell are sent, the server know how I need to give something back to what
my answer : ,,, what you want to send, for the Web, the get request parameters are: requests the server address and request parameters of
friends ask: it does not become post my network communication very paste?
I answer: get and post are request method ah, get parameter information will show on the inside URL, post is hidden in the relative safety
of my friends asked: So why did someone get, are not you using post
my answer: I'm talking about eight kinds of HTTP request methods, there is another restful style request is get post put and delete, these four represent the four kinds of requests CRUD
friend asked:? different contexts is not a thing right
I say: ah, depends on your server with What framework or rules. Now popular style is restful, you are involved in a project or?
A friend asked: End calf, which under the force of the more ignorant. In a school network framework. https://square.github.io/okhttp/
I say: (a diagram inside the structure and way of protobuffers Builder way like) this Builder are built, and when I learned to use two RPC netty like way to build the framework.
A friend asked: here and get in the post and http get and post is not a thing?
I replied: function is to receive and transmit, but the specific implementation, they see the bottom of it, this may be the way to strengthen the framework for the request, right
friend asked: I think it is one to one.
I say: ah, eight kinds of HTTP request methods, I understand. This framework, he's a way to strengthen the request, such as the post method you use this framework to achieve the default HTTP post functionality, then it has to avoid the drawbacks of default, before we learn javaweb Andrews also inside schedule, what SpringMVC ah, the default request method is to use the HTTP protocol. I am now learning netty, their transport protocol to use is more popular RPC framework, previously only HTTP1.0 Besides, now the version 1.1 and version, now HTTP2 are beginning to have universal, based on the best you start asking questions, you science, then the whole of the HTTP protocol to study again a bit better.
A friend asked: RPC framework for transport out of the http RPC protocol it is now generally socket, socket long connection?. HTTP socket is to remedy the defect can not achieve a long connection of the birth. This is my understanding.


After the completion of communication with friends, I feel that I have little knowledge of all these things, I honestly catching up with it, after I have finished the exchange of a guilty conscience. After all, I did not sit there intently studied. Haha.


GET and POST What is the difference?

Reprinted Quote:

https://www.cnblogs.com/nankezhishi/archive/2012/06/09/getandpost.html

https://www.w3school.com.cn/tags/html_ref_httpmethods.asp

https://www.runoob.com/http/http-tutorial.html

 

Etc., etc. ------- ing still learning

Guess you like

Origin www.cnblogs.com/bigbaby/p/12041062.html