Parse HTTP response body to XML

前端 未结 1 889
[愿得一人]
[愿得一人] 2021-01-29 07:02

I\'m using this code to perform an HTTP request and parse the XML response:

using (HttpWebResponse resp = req.GetResponse() as HttpWebResponse)
{
    if (resp.St         


        
相关标签:
1条回答
  • 2021-01-29 07:23

    eventually i found the problem, the problem was with this line t = ms.ReadToEnd(); that cause the stream to lap through the end cause nothing to be after that.

    0 讨论(0)
提交回复
热议问题