gpt4 book ai didi

c# - TweetSharp RestRequest?

转载 作者:行者123 更新时间:2023-12-04 16:57:54 26 4
gpt4 key购买 nike

Error 11 The type or namespace name 'RestResponse' could not be found (are you missing a using directive or an assembly reference?)



应该将哪个命名空间或类型添加到项目中?
RestRequest request = servis.PrepareEchoRequest();
request.Path = "uploadAndPost.xml";
request.AddField("key", twitpicApiKey);
request.AddField("consumer_token", consumerKey);
request.AddField("consumer_secret", consumerSecret);
request.AddField("oauth_token", accessToken);

最佳答案

我所要做的就是添加

using RestSharp;

对于您在其中创建此方法的类。我相当确定这就是您需要做的全部。

关于c# - TweetSharp RestRequest?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24880689/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com