Listing 1 shows an edited example of a request to an STS for this purpose, with the various headers removed and only the request body listed.
清单1显示了为此目的而向一个STS发出一个示例请求,这个示例是经过编辑的,其中删除了各种头部,只列出请求主体。
Listing 1 shows a message handler that reads the request body while the request is being sent.
清单1显示了一个消息处理程序,用于在发送请求时读取请求主体。
Therefore, to add a new post, you simply send an authenticated POST request to the feed URL, appending the post content to the request body.
因此,要添加新帖子,只需要向提要URL发送一个未经身份认证的POST请求即可,将帖子内容附加到请求主体。
A SOAP for CICS pipeline processes these requests (Figure 2), which eventually passes the SOAP body containing the XML request to a message adapter.
用于CICS的SOAP管道处理这些请求(图2),最后传递包含XML请求的SOAP主体到消息适配器中。
The usual REST convention is that a POST request creates a new resource, with the request body containing all the necessary inputs (in this case, the author and title) for the resource.
通常的REST协定是,POST请求创建一个新资源,请求主体包含针对该资源的所有必要的输入(本例中是作者和书名)。
The following illustration shows that the HTTP export is connected to a mediation flow that performs required transformation of the payload (the body of the HTTP request) sent from the REST client.
下图显示了HTTP导出连接到一个中介流中,这个中介流执行来自REST客户端的负载(HTTP请求体)的转换。
The contents of the SSL certificate are returned in the HTTP response body sent back as a result of this GET request.
这个ssl证书的内容在作为这个GET请求的结果返回的HTTP响应的响应主体中返回。
It transforms the request body into the SCA data object and passes the request data to other SCA application components.
它将请求体转换成sCA数据对象并将请求数据传递到其他SCA应用程序组件。
The resultant XML response forms part of the SOAP response body, which is returned to the SOAP client that initiated this request.
合成的XML响应形成了SOAP响应主体的一部分,该部分被返回到发出请求的SOAP客户端。
The rules are application specific, but in general, caching policy rules can trigger on the request URI, specific XML contents within the request body, or a combination of both.
这些规则是特定于应用程序的,但一般情况下,可在请求URI 中、请求正文中的特定XML内容或两者的组合中触发缓存策略规则。
Notice how the data taken from the form is added directly to the request body as a JSON object; the implementation of zero.services.
请注意从表单取得的数据是如何作为一个JSON对象直接添加到请求体中的;
The URL where you PUT the data is the URL where the document will be placed inside the database; the body of the request is the document to store.
放入(PUT)数据到其中的URL就是文档将要放入数据库中的url;请求的主体是将要存储的文档。
PUT, where the requester sends body content in the request, but expects no body content in the response.
请求程序通过此方法发送请求中的正文内容,但不会获取响应中的正文内容。
SOAP encoding is done by the stylesheet in Listing 3, which simply creates the envelope, body, and body request, as discussed earlier in this section.
SOAP编码由清单3中的样式表完成,它只是像前面所述的那样创建信封、体和体请求。
A successful PUT implies that the existing resource has been replaced with the resource specified in the PUT request body.
成功的PUT意味着,现有资源已被PUT请求主体中指定的资源替代。
The method above is exemplary of a RESTful request: proper use of HTTP POST and inclusion of the payload in the body of the request.
上述方法是基于 REST的请求的范例:正确使用HTTPPOST并将有效负载包括在请求的正文中。
This involves converting the JSON object into a string that can be put in the HTTP POST request body.
这包括将JSON对象转换成可放入HTTPPOST请求体中的字符串。
The GIOP request message is broken up into three parts: the GIOP message header, the GIOP Request header, and the Request body.
GIOP请求消息分成三部分:GIOP 消息头、GIOP 请求头和请求主体。
The XML document is structured just like the request except that the Body contains the encoded method result.
除了它的Body包含被编码的方法结果之外,XML文档结构和请求时的结构很像。
There's no XML or content headers to add, no data to send in the body of the request — this is Ajax Utopia, in other words.
没有XML和要添加的内容头部,请求体中没有要发送的数据;换句话说,这就是Ajax的乌托邦。
When the control reaches the catch block, a SOAP request is prepared using a cached body, and a Web service is invoked.
当执行到 catch块时,将使用缓存的主体准备SOAP请求,并随后调用Web服务。
You post to the URL of the document you want to change and give the XUpdate instructions in the body of the request.
您发出想要更改的文档的URL并在请求体中给出XUpdate指令。
The function is provided with two arguments, the request structure (which includes the request type, path and any body data), and the DocRoot.
此函数提供两个参数,请求结构(其中包含请求类型、路径和任意主体数据)以及DocRoot。
Because Apache Commons HttpClient wants the POST request body to be done in NameValuePairs, we iterate through the elements of the map using the foreach call.
由于ApacheCommonsHttpClient要求POST请求的主体放在NameValuePairs中,因此我们使用foreach调用遍历map的元素。
This requires the client to make full use of HTTP headers as specified by the Web service interface and to send complete representations of resources in the request body.
这要求客户端充分利用Web服务接口指定的HTTPHeader,并在请求正文中发送完整的资源表示形式。
A common practice is to use the private key of the sender's X.509 certificate to digitally sign the SOAP body of a web service request.
一个常用的实践方法是使用发送方的X . 509证书的私钥对Web服务请求的SOAPBody进行数字签名。
The XML request document is contained inside the SOAP body element of the SOAP request message.
XML请求文件包含在SOAP请求消息的SOAPbody元素中。
Whenever the Web service is invoked, a message handler reads the body of the request and saves the whole body in the body_of_request static variable.
调用Web服务时,消息处理程序将读取请求的主体,并将整个主体保存在body _ of _ request静态变量中。
Remember, in other API calls, using GET, all the parameters can and do appear as query parameters on the URL line; using POST, they appear in the body of the HTTP request.
记住,在其他API调用中,若使用GET,则所有参数可以作为查询参数出现在URL行;若使用POST,则参数出现在HTTP请求的主体中。
Remember, in other API calls, using GET, all the parameters can and do appear as query parameters on the URL line; using POST, they appear in the body of the HTTP request.
记住,在其他API调用中,若使用GET,则所有参数可以作为查询参数出现在URL行;若使用POST,则参数出现在HTTP请求的主体中。
应用推荐