【发布时间】:2021-11-08 18:29:57
【问题描述】:
我正在尝试使用 Postman 向 ActiveCollab REST-API 发出 GET 请求。我想获取按项目日期过滤的时间记录。我将我的 Access-Token 添加到标题和我的时间段 JSON 格式中,我希望将结果放入其中。 结果,我得到“400 Bad Request”。
网址:
https://*/projects/29/time-records/filtered-by-date
正文(JSON):
{
"from": "2021-08-01",
"to": "2021-08-31"
}
我可以使用我的访问令牌执行其他请求,并且我在文档中的示例模式中添加了我的参数(https://developers.activecollab.com/api-documentation/v1/projects/elements/time-records/filtered-by-date.html)。
问题似乎与 Postman 无关,因为我也尝试使用其他应用程序。
【问题讨论】:
标签: rest http-status-code-400 activecollab