httpヘッダーを使用してWindowsPhone8からRestサービスにhttpwebrequestを投稿しようとしています:User-agent = @ "Mozilla / 5.0(compatible; MSIE 10.0; Windows Phone 8.0; Trident / 6.0; IEMobile / 10.0; ARM; Touch; Microsoft; Virtual) "そして投稿の本文:payload = testvalue&item1 = value;
同じリクエストは、RESTクライアントから投稿されたときにレスポンスを返します
以下は、WindowsPhone8コードで発生した例外です。
System.Net.WebException was caught
HResult=-2146233079
Message=The remote server returned an error: NotFound.
Source=System.Windows
InnerException: System.Net.WebException
HResult=-2146233079
Message=The remote server returned an error: NotFound.
Source=System.Windows
InnerException: