guides:ws_payloads_retrieve_payload
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| guides:ws_payloads_retrieve_payload [2020/08/24 21:21] – brett.zamora | guides:ws_payloads_retrieve_payload [2020/08/24 21:24] (current) – brett.zamora | ||
|---|---|---|---|
| Line 319: | Line 319: | ||
| if (response.IsSuccessful) | if (response.IsSuccessful) | ||
| { | { | ||
| + | // Note: Do not try to use the LoadXml API as it does not account for the encoding preamble. | ||
| + | | ||
| XmlReader myXmlReader = XmlReader.Create(new MemoryStream(Encoding.UTF8.GetBytes(response.Content))); | XmlReader myXmlReader = XmlReader.Create(new MemoryStream(Encoding.UTF8.GetBytes(response.Content))); | ||
| XmlDocument xmlDoc = new XmlDocument(); | XmlDocument xmlDoc = new XmlDocument(); | ||
guides/ws_payloads_retrieve_payload.1598304107.txt.gz · Last modified: by brett.zamora
