RestRequest.AddXml

Overview

Adds a new xml content in request

RestRequest myRestRequest.AddXml(xml: ( string | Xml ))

Arguments

( string | Xml ) xml

Xml to add

Example

var client = $Rest.Create('http://targetserver'); var request = client.Request(); request.AddXml($Xml.SelectSingle('Input')); var result = request.ExecuteXml($Xml);

Copyright © 2010 - 2023 Emakin. All rights reserved.