【发布时间】:2021-10-24 14:01:50
【问题描述】:
我正在尝试将数据从 Algorithmia API 获取到 Power BI Desktop。
基本上,尝试转换:
curl -X POST -d '"Test"' -H 'Content-Type: application/json' -H 'Authorization: Simple simAOH0ixjNUwV/qBMh1BW1fbKH1' https://api.algorithmia.com/v1/algo/tone/DemoAlgo/0.1.0?timeout=300
进入 Power Query M:
let
url= "https://api.algorithmia.com/v1/algo/tone/DemoAlgo/0.1.0",
auth_key = "'Simple simAOH0ixjNUwV/qBMh1BW1fbKH1'",
header = [#"Authorization" = auth_key, #"Content-Type" = "application/json"],
query = "'Test'",
webdata = Web.Contents(url, [Headers=header, Query = query]),
response = Json.Document(webdata)
in
response
这是返回NOT found error: 404。
谁能帮忙?
提前致谢!
【问题讨论】:
标签: rest powerquery powerbi-desktop algorithmia