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

Happy New Year from Power BI

This is a must watch for a message from Power BI!

December Update

Check it Out!

Click here to read more about the December 2020 Updates!

Community Blog

Check it Out!

Click here to read the latest blog and learn more about contributing to the Power BI blog!

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!.