request.Method = “POST” working but NOT request.ContentLength
问题 Some times the simple things can stump you and here is one for me. I want to do a simple web request to verify a username and password. Its working just fine in Windows Phone 8 but I can not seem to get the same code to work on Windows 8. I understand I can not do a GetResponse as I do with Windows Phone so I am using GetResponseAsync and that part if working fine. But the response from the Server is that it did not get the " POST " component in the header. Here is the Windows Phone 8 code