【发布时间】:2018-10-26 07:54:00
【问题描述】:
我正在尝试在 Flurry 中使用原始数据下载。(link)
所以,我正在使用 Postman 向 Flurry 的原始数据 api 发送 POST 请求。
curl -X POST \
https://rawdata.flurry.com/pulse/v1/rawData \
-H 'Accept: application/vnd.api+json' \
-H 'Authorization: **programmtics user token** \
-H 'Cache-Control: no-cache' \
-H 'Content-Type: application/vnd.api+json' \
-H 'Postman-Token: 9df055be-304a-4403-b300-603ec4c21e30' \
-H 'cache-control: no-cache' \
-d '{
"data":
{
"type": "rawData",
"attributes": {
"startTime": "1537833600000",
"endTime": "1540425600000",
"outputFormat": "JSON",
"apiKey": "app token"
}
}
}
'
我得到这个错误:
{"code":401,"message":"Unauthorized"}
我做错了什么,是什么?
我的程序化用户启用了原始数据下载。
【问题讨论】:
标签: flurry