How do I decode a string like the following:
name1=ABC&userId=DEF&name2=zyx&payload=%3cSTAT+xmlns%3axsi%3d%22http%3a%2f%2fwww.w3.org%2f2001%2fXMLSchema-instance%22%3e%3cREQ...
Background: I'm accepting an HTTP POST (name value pairs, basically) then converting the byte array to string with:
Encoding.UTF8.GetString(response, 0, response.Length);
I've tried the HtmlDecode method of WebUtility and HttpUtility but appear to get the same string back.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…