i am trying to post a httpwebrequest to a Rest service from windows phone 8 , with the http headers :User-agent =@"Mozilla/5.0 (compatible; MSIE 10.0; Windows Phone 8.0;Trident/6.0; IEMobile/10.0; ARM; Touch; Microsoft; Virtual)" And the post post body :payload=testvalue&item1=value;
the same request does returns a response when posted from a REST client
and below is the exception occured in windows phone 8 code
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: