Original link: Three kinds of sending acceptance protocols in Web services soap/http get/http POSTI. Three kinds of sending acceptance protocols in Web services soap/http get/http POSTIn Web services, there are three options for sending and receiving information: Soap,http get,http POST, but SOAP supports a wider range of data types
Soap=rpc+http+xml
Soap simple understanding, is such an open protocol Soap=rpc+http+xml: The use of HTTP a
The HTTP protocol is character-based (ASCII), and when the Content-type entry is text/xml, the content is in text format, and in binary format, the Content-type item is image/gif. For example, the browser requests packet information for a picture:1. Request message:2. Response message:The following is the binary data areaFrom the above, the content in the HTTP protocol can be pure binary.Generally understoo
Network development is fast, more and more network transfer protocols appear, no matter what kind of developers face these protocols are difficult work, often in a program has a variety of different protocol requirements. Like the web today, if you don't use the HTTP protocol, you seem to be lagging behind. Of course, the HTTP
File Transfer Protocol (Ftp:file Transfer Protocol) allows files to be shared between hosts. FTP uses TCP to generate a virtual connection to control information and then generate a separate TCP connection for data transfer. Control connections use similar TELNET protocols t
USB transfer protocol. -- Arvin, usb transmission arvinQuestion 1: What is the structure of the USB transmission line? Answer 1: a usb transmission line consists of four lines: Ground Wire, power cord, D +, and D-. D + and D-are differential input lines, it uses a voltage of 3.3V (note that it is different from the 5 V level of CMOS), and the power cord and ground wire can provide 5 V voltage to the device,
5. Hypertext Transfer Protocol HTTP5.1 Uniform Resource Locator URL(1) General form of the URL:① agreement must be written on the following "://", can not be omitted;② host refers to the host's domain name or IP address on the Internet;③ ports and paths can sometimes be omitted.(2) Example①http URL general form:http://②ftp URL general form: ftp://[email protected]: 9921.5.2 absolute path and relative path(1
Brief introduction1. HTTP protocol, which means "Hypertext Transfer Protocol", all www files must abide by this standard.2. It transmits data based on TCP/IP communication protocol, which is non-connected and stateless.3. The user's browser acts as an HTTP client, sending a request via a URL to the HTTP server, which i
.-----------------------------------------------------------------------------------------------------Transfer-encoding:chunked means: While reading the data, it is sent to the client side. Not a second transmission. will take this header message.Content-length: That is, the server has been cached in which to say, the message sent to the client will take this header information.This is the case, the server is dynamically generated, you when the data i
RFC821-Simple Mail Transfer Protocol SMTP Chinese version-1. 3. 7. the domain was recently introduced to the ARPAInternet email system. The domain can be used to change the address space from a flat string host name to a global address level. Host 3.7. the domain was recently introduced to the ARPA Internet mail system. The domain can be used to change the address space from a flat string host name to a glo
1. TFTP -- Trivial File Transfer Protocol (simple File Transfer Protocol)
Unlike FTP, it uses UDP port 69, so it can traverse many firewalls. However, it also has disadvantages, such as unreliable transmission and no password verification. Suitable for transferring small files
2. Configure TFTP
Ecgl Linux comes with a
It is not as good as the 16-http protocol (2) of bad pen headers and the transfer of page data compression.
When we use tools such as HttpServletRequest and HttpServletReonse, these tools use the http protocol, which is also common for our daily WEB development. Because the http protocol is well encapsulated, we often
Web QQ has been used, which involves the technology, there is a reverse Ajax.Reverse Ajax is also called Comet,server push, server push technology.Application: web chat server, Sina Weibo online chat, Google Mail web chat, all useful.Principle: Generally speaking, the characteristics of HTTP protocol, connection When is the specific time to disconnect?The server responds Content-length, and when it receives the content of the specified length, it is d
In the development of normative interfaces, general data is transmitted in JSON or XML format, rather than in the form of strings, which are directly returned to the caller of the interface, and the writing method of both formats is described below.
The following two types of data transfer methods are the output of the interface to write. The packages that need to be introduced are as follows:
1. Transfer
JSON believes everyone knows what it is, and if you don't know it, it's out of the way and Google is going to do it. There's nothing to be introduced here.Protobuffer Everyone estimated rarely heard, but if it is Google to do, I believe that everyone will be interested to try, after all, Google exports, more than a boutique.Protobuffer is a JSON-like transport protocol, but it's not a protocol, it's just a
connection.DOS = HC. opendataoutputstream ();Declare a byte array and retrieve a byte array from the requestbody string for initialization. Write the buffer of dataoutputstream into the byte array.Byte [] byterequest = requestbody. getbytes ();For (INT I = 0; I Dos. writebyte (byterequest [I]);} // End for (INT I = 0; I Dos. Flush (); // contains this sentence. Unexpected results may occur in some settings.The intention of calling the flush () method is to send written data to the buffer zone o
Reference:Using System.Net.Mail; Public classEmailhelper { Public Static BOOLSendEmail (stringTitlestringBodystringaddress) { Try{mailaddress from=NewMailAddress ("[Email protected]","xxx"); Send source mailbox address and name MailAddress to=Newmailaddress (address); Recipient email Address MailMessage message=NewMailMessage ( from, to); Create a new mail message. Subject=title; Message headerMessage. Body=body; The message body text message. Isbodyhtml=true; Message body Format
RFC821-simplified Mail Transfer Protocol SMTP Chinese version-2. From: Author: (2001-11-2308: 08: 00) 4.1.2.COMMAND syntax format commands are composed of the command code and its subsequent parameter fields. It consists of four letters, which are case-insensitive. From: Author: (08:08:00) 4.1.2. COMMAND syntax format commands are composed of the imperative code and its subsequent parameter fields. It consi
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.