我想使用Trustpilot API来回复评论。
我已经有了一个access_token,这是我的请求:
POST https://api.trustpilot.com/v1/private/reviews/{reviewId}/reply?message={myMessage}&token={myAccesToken}但是这个请求总是得到一个400坏请求响应。
在Trustpilot的API文档中,没有关于这方面的规范。https://developers.trustpilot.com/review-api#Reply的评论。
有人能帮助我如何使用TrustPilot API来回复评论吗?
发布于 2016-04-08 22:37:32
对于使用Reply to Review:
如有任何进一步问题,请与support@trustpilot.com联系,我将在那里回复您。
发布于 2016-09-08 18:13:52
这是对这个问题的一个很晚的答复。但也许总有一天会有人遇到同样的问题。
缺少的是消息应该在请求的有效负载中发布,而不是在查询参数中。
POST https://api.trustpilot.com/v1/private/reviews/{reviewId}/reply?token={myAccesToken}
PAYLOAD: {"message": {myMessage}}
Content-Type: application/jsonAPI文档的URL已更改为:https://developers.trustpilot.com/service-reviews-api#reply-to-a-review-
https://stackoverflow.com/questions/36499563
复制相似问题