Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
Can someone help me ti import the data from web API URL in POST method. API data is in JSON format.
[
{
"Case Code": "123",
"Fund": "ABC",
"Organization": "Life Support for Civilian War Victims",
"Project": "AFG-",
"Project Status": "Project Closed"
}
]
I am trying as follows.
let
url = "http://xxx.xxx.com:8080/vo2/odata/CaseData/BlockedProjectConservativeMeasure",
body = "{""parameter as poolfundcodes"":""123""
}",
Source = Json.Document(Web.Contents(url,[
Headers =[#"Content-Type"="application/json", #"Authorization" = "basic "],
Content = Text.ToBinary(body) , Timeout=#duration(0,2,0,0)
]
))
in
#"Source"
Getting an error
DataSource.Error: Web.Contents failed to get contents
from URL: ....... (500): Internal Server Error.
Solved! Go to Solution.
Hi
Refer Chris Webb post - https://blog.crossjoin.co.uk/2014/04/19/web-services-and-post-requests-in-power-query/
He explained that how to call POST request.
Thanks
Hari
Thanks. I am able to import the data now.
Hi
Refer Chris Webb post - https://blog.crossjoin.co.uk/2014/04/19/web-services-and-post-requests-in-power-query/
He explained that how to call POST request.
Thanks
Hari
Hi
Refer Chris Webb post - https://blog.crossjoin.co.uk/2014/04/19/web-services-and-post-requests-in-power-query/
He explained that how to call POST request.
Thanks
Hari
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
94 | |
84 | |
67 |