且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

HttpWebRequest POST给500服务器错误

更新时间:2023-09-20 22:34:22

我需要添加:

request.Headers.Add("Authorization: Basic ZGNpOkFpR2g3YWVj");

虽然很奇怪,但第二个请求却是自动添加的.

weird though that for the second request it was added automatically..