Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
gablima96
Regular Visitor

Connect to API

Hello, I need to connect Power BI to a database through an API. However I don't know how to make this connection. A Web Service was created to make this connection and in the link below I put the print. What I don't know is how to do this integration, I believe it is through a web link but I don't know how to use it.

The first field in the web service is tolken.
The second is the function / action to be executed.

And the green button is to test the connection that generates an XML window with the following link http://dbs2.cf.com.br:8088/xxxx/WebService/verifica.php I tried in vain to paste this link followed by .../token code/function name

 

Printscreen --> https://drive.google.com/file/d/1VzKZba8s2eSq1h9P25YLp_E6mmnOTejT/view?usp=sharing

 

1 ACCEPTED SOLUTION

Hi! The admin changed the methode to GET and passed me a entire link ready to paste in PBI.

View solution in original post

2 REPLIES 2
lbendlin
Super User
Super User

As you state you need to use two Web.Contents() calls, the first one to acquire the token and the second one to run your data query with the supplied token either in the header section or the data section of the Web.Contents() call.

 

Have you gotten the first part to work?

Hi! The admin changed the methode to GET and passed me a entire link ready to paste in PBI.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.