Forum Discussion
Power BI REST API to return response in browser
- 4 years ago
So you cannot do a GET request like the example you posted, but the first link you posted shows how you can do a POST request to get back a JSON response. The only "extra" bit to be aware of is that you have authenticate against PowerBI to make sure that the user has access to the dataset. There is some example c# code for a console app linked in that article, but that should not be too hard to convert to an Azure function or something that you could run on heroku that would then either prompt the user to login or use their existing credentials if they are already logged in.
Hi smpa01 ,
Whether the advice given by d_gosbell has solved your confusion, if the problem has been solved you can mark the reply for the standard answer to help the other members find it more quickly. If not, please point it out.
Looking forward to your feedback.
Best Regards,
Henry