我正在尝试使用RestSharp将cookie添加到请求中,但在fiddler2中我看不到请求中的cookie,服务调用失败。向RestRequest添加cookie有什么窍门吗?RestRequest rq = new RestRequest(LTV.NowNext(), Method.GET);
rc.AddDefaultParameter(LTV.cookie.Key, LTV.cookie.Value, Par
对于特定的请求,我必须对上面提到的服务之一进行REST API调用。当然,该服务需要身份验证。我尝试做的是将当前请求中的FedAuth cookies传递给RestSharp客户端: [Route("api/testroute")] {
var client = new RestSharp.RestClient(
我试图使用RestSharp向API发出请求。通过将请求重定向到登录服务器、使用基本凭据进行身份验证、获取cookie,然后将其重定向到API来保护此API。恐怕我无法控制这件事。请求的顺序是:---------------------------------GET http api server with cookies 200 OK
我正试图用RestSharp