在Windows Phone 7 中使用 HttpWebRequest.EndGetResponse获取服务器返回资源时出现异常:The remote server returned an error: NotFound.

HttpWebResponse response = (HttpWebResponse)request.EndGetResponse(asynchronousResult);

在GET方式中一般不会出现这个异常,但是在POST方式中就可能出现这个异常,出这个异常的原因:是因为POST参数错误。少了某个参数或参数名不正确,这可能是服务端对参数做了校验。

 

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-06
  • 2021-06-13
  • 2021-12-20
  • 2022-02-27
  • 2022-12-23
猜你喜欢
  • 2022-02-16
  • 2021-12-21
  • 2022-12-23
  • 2021-12-02
  • 2021-12-12
  • 2021-10-02
  • 2022-12-23
相关资源
相似解决方案