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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.