Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
Hello,
I'm trying to get data from an Algorithmia API into Power BI Desktop.
Basically, trying to convert this:
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
Into 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
This is returning NOT found error: 404.
Can anyone help?
Thanks in advance!
Solved! Go to Solution.
I got it with:
let
url= "https://api.algorithmia.com/v1/algo/tone/DemoAlgo/0.1.0?timeout=300",
auth_key = "simAOH0ixjNUwV/qBMh1BW1fbKH1",
header = [#"Authorization" = auth_key, #"Content-Type" = "application/json"],
post_contents = """Teste""",
webdata = Web.Contents(url, [Content=Text.ToBinary(post_contents), Headers=header]),
response = Json.Document(webdata)
in
response
Should anyone have the same issue.
I got it with:
let
url= "https://api.algorithmia.com/v1/algo/tone/DemoAlgo/0.1.0?timeout=300",
auth_key = "simAOH0ixjNUwV/qBMh1BW1fbKH1",
header = [#"Authorization" = auth_key, #"Content-Type" = "application/json"],
post_contents = """Teste""",
webdata = Web.Contents(url, [Content=Text.ToBinary(post_contents), Headers=header]),
response = Json.Document(webdata)
in
response
Should anyone have the same issue.
Also tried with:
let
url= "https://api.algorithmia.com/v1/algo/tone/DemoAlgo/0.1.0?timeout=300",
auth_key = "simAOH0ixjNUwV/qBMh1BW1fbKH1",
header = [#"Authorization" = auth_key, #"Content-Type" = "application/json"],
post_contents = "Teste",
webdata = Web.Contents(url, [Content=Text.ToBinary(post_contents), Headers=header]),
response = Json.Document(webdata)
in
response
This returns:
(400): Bad Request
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 62 | |
| 62 | |
| 42 | |
| 20 | |
| 18 |