Skip to content

pbDataRequiredSent - cXmlHttpTransfer

Determines if a request of no data should be considered valid

Type: Property
Access: Read/Write
Data Type: Boolean
Parameters: None

Syntax

Property Boolean pbDataRequiredSent
Access Type Syntax
Read Access: Get pbDataRequiredSent to BooleanVariable
Write Access: Set pbDataRequiredSent to BooleanVariable/Value

Description

The property pbDataRequiredSent determines if data must be sent for a request to be valid. The default value of this property is True, which means that valid XML data must be sent in the request. If no XML is sent an error will occur and the peXmlTransferStatus property will be set to xtsBadRequest. If the property is set to false, an empty request is considered to be valid.

Set pbDataRequiredSent to False // allow empty data to be sent

See Also

pbDataRequiredReceived | peXmlTransferStatus