Forum Discussion
Converting Postman Request into PowerBI
Getting this error now:
DataSource.Error: Web.Contents failed to get contents from 'http://api.ongage.net/' (400): Bad Request
Details:
DataSourceKind=Web
DataSourcePath=http://api.ongage.net/
Url=http://api.ongage.net/
I should mention this is a POST request which from what i'm seeing may have an affect on the syntax?
Thanks for the help guys.
Do you have Fiddler? If so, capture the traffic from both the Postman request and the Power BI request. I don't have enough information, including what parameters you're passing, to be able to diagnose.
If you compare the headers each of the requests, you will be able narrow down the issue.
Here's a blog post from Chris Webb on using Fiddler with Power Query to help get you started.
- Ryder6 years agoFrequent Visitor
Here's a screen capture of the 400 pbi request vs the 200 postman request:
I'm not entirely sure which one of the postman request to focus in on.
Thank you for the assistance!
- tonmcg6 years agoResolver II
Requests number 78 (the one in red) and 127 are the ones to focus on. 78 came from Power BI. 127 comes from Postman.
All the other requests are from different applications running on your computer. Ignore those.
Also, try using "https" instead of "http" in your requests.