Home > other >  Doubts about HTTP and TCPIP
Doubts about HTTP and TCPIP

Time:10-28

Overview: I do end equipment, customer service USES HTTP implementation, timing devices end periodic report data to the server,

My understanding: hardware equipment also should use the HTTP protocol to interact with the server,

Question: if I use is TCPIP way short links, TCPIP data content contains HTTP part of transmission, such as:
POST/API/V1/gateway/UpdateSensors HTTP/1.1/01
Userkey: bf3b2329416946509f58abd73299a6
Host: WWW.LEWEI50.COM
The Content - Length: 30
Connection: close

[{" Name ":" DS01 ", "Value" : "26"}]
So that send data and HTTP protocol transmission have essential differences? The server is the same?

Thank you!

CodePudding user response:

The HTTP protocol is based on TCP/IP protocol of clear
It was clear to you

CodePudding user response:

reference 1st floor zongshi_down response:
HTTP protocol is based on TCP/IP protocol of clear
It was clear to you


I the example above, is TCPIP + HTTP format,
My personal understanding and HTTP protocol is no different, don't know right

CodePudding user response:

Yes, in the send is HTTP packets

CodePudding user response:

Yes, usekey this request I've never used,
Everything else is right,
  • Related