cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Super User III
Super User III

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.

View solution in original post

Helpful resources

Announcements
secondImage

Congratulations!

We are excited to announce the Power BI Super Users!

Wave Release 2

Check out the updates in Power BI.

Overview of Power BI 2020 release wave 2!

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors