Why Does my HttpWebRequest Return 400 Bad request?

后端 未结 4 1848
梦毁少年i
梦毁少年i 2020-12-03 15:35

The following code fails with a 400 bad request exception. My network connection is good and I can go to the site but I cannot get this uri with HttpWebRequest.



        
4条回答
  •  北荒
    北荒 (楼主)
    2020-12-03 16:17

    Maybe you've got a proxy server running, and you haven't set the Proxy property of the HttpWebRequest?

提交回复
热议问题