Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

How can I insert an API Body when connecting to API as data source?

I'm trying to connect to UPS Quantum View API.  It works well via POST MAN but I'm not getting data from Power BI since it requires my ups login information in the body of the API call.


Body from PostMAN



Current connection to the API in Power BI, but missing the body from above.  How can I insert it and where do I paste it?  I don't understand the syntax required to insert the body into Power BI.  There are no clear instructions anywhere that I can find...  


Thanks for your guidance.  MS has to improve this process to truly make Power BI accessible for more people.

Helper I
Helper I

Hi Pat,

I had already look at those articles before coming to this forum and unfortunately, they don't provide much help.  Also, I'm not a developer.  I posted a screenshot to better show what is going on. I pasted the body I'm using from Postman into Power BI advanced editor and I'm not having any luck  Most likely a syntax/formatting problem.  I just don't know where to insert the text string highlited in yellow in the image below.  I'm baffled as to why MS doesn't make Power BI easier to connect to APIs since it's supposed to help "low code" or "citizen developers" to get to data soures.


Hopefully, some can tell where to move that text string or provide guidance on the syntax required. 




Hi  @VFXPro ,


Check a reference below which may help:


Best Regards,

Did I answer your question? Mark my post as a solution!

Super User
Super User

Please see this articles for how to send a body with your POST requests.

Easy POST requests with Power BI and Power Query using Json.FromValue – The BIccountant

Chris Webb's BI Blog: Web Services And POST Requests In Power Query Chris Webb's BI Blog (crossjoin....




Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.

@mahoneypa HoosierBI on YouTube

Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.