Neolane - JavaScript API - v6.1.0

Unknown
body
The body of the HTTP query.
body
Remarks
The object assigned to the body of the query is processed as follows:
  • undefined, null, function: are not considered as sendable elements, the body of the HTTP query is empty.
  • number, boolean, string, XML, Object: changed into a string of characters based on the toString method and encoded based on the HTTP header Content-type.
  • MemoryBuffer: The content is copied in the body of the query without alteration.

Example:

var query = "Select \"urn:schemas:calendar:uid\" " // etc...
var apptRequest =
  <g:searchrequest xmlns:g="DAV:">
    <g:sql>
      {query}
    </g:sql>
  </g:searchrequest>
http.body = apptRequest
    
Features
Property of class: HttpClientRequest
Read only: No
Available in:
  • Content management
  • Delivery properties
  • Typology rule
  • JSSP
  • SOAP Method
  • WebApp
  • Workflow

jsapi-en

previous page start next page