我试图以xml格式获取特定用户的所有反馈(CommentType为正反馈、中性反馈、负反馈、离开用户反馈、日期反馈、消息反馈)。为此,我使用http请求:
https://api.ebay.com/wsapi?callname=GetFeedback&UserID=pashtetgp1988&siteid=0&DetailLevel=ReturnAll&appid=eBayAPID-73f4-45f2-b9a3-c8f6388b38d8&version=511但是,xml输出返回错误。
Input data for tag <GetFeedback> is invalid or missing. Please check API documentation.另一个具有相同appid的请求运行良好:
http://open.api.ebay.com/shopping?callname=GetUserProfile&version=537&siteid=0&appid=eBayAPID-73f4-45f2-b9a3-c8f6388b38d8&UserID=pashtetgp1988&IncludeSelector=Details,FeedbackHistory&responseencoding=XML有什么问题吗?
发布于 2014-06-04 15:24:04
GetFeedback来自eBay贸易API服务,您不能使用HTTP调用该服务。该服务只支持HTTP发出的请求。GetFeedback所需的信息要么通过headers传递,要么通过主体传递。请求的主体可以是XML或SOAP。更多信息可在eBay 文档中获得。
作为将来的参考,不应该在代码示例中公开您的应用程序。
https://stackoverflow.com/questions/24036641
复制相似问题