Using a Credential ID with http-options
- Last Updated: May 20, 2026
- 1 minute read
- MarkLogic Server
- Version 12.0
- Documentation
The xdmp:http-options function now accepts a credential-id when used with XQuery. The schema looks like this:
<xs:complexType name="options">
<xs:sequence>
<xs:element ref="timeout" minOccurs="0"/>
<xs:element ref="data" minOccurs="0"/>
<xs:element ref="headers" minOccurs="0"/>
<xs:element ref="credential-id" minOccurs="0"/>
<xs:element ref="authentication" minOccurs="0"/>
<xs:element ref="client-cert" minOccurs="0"/>
<xs:element ref="client-key" minOccurs="0"/>
<xs:element ref="pass-phrase" minOccurs="0"/>
</xs:sequence>
</xs:complexType>