3.10Setting XML Content
Created on Aug 17, 2026~1 min read
Sets the request's content type to text/xml and sends XML data.
HttpRequestBuilder.Post("https://furion.net/") .SetXmlContent("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");HttpRequestBuilder.Post("https://furion.net/") .SetXmlContent("<?xml version=\"1.0\" encoding=\"UTF-8\"?>", Encoding.UTF8); // Sets the encodingHttpRequestBuilder.Post("https://furion.net/") .SetXmlContent("<?xml version=\"1.0\" encoding=\"UTF-8\"?>", Encoding.UTF8, "application/soap+xml"); // Custom content-type