Forum Discussion
Get data with bearer token
Hello community!
I kindly ask you to help me with other question:
I have an api with standart uathorization via POST (login/pass), after i get an answer with bearer token. (using Postman)
With this token i'll do a second request via GET method and some parametrs, and in final i get an answer with data.
Sorry, maybe not technical description)))
So, how can i get the data to Power Bi report?
Also, i need to update this report once a week, in API data will be updated automatically.
I will be grateful for you answers or some links to resolve this problem.
Hi, Nicolas_P
You can use [Get Dataset] to get data from Power BI Service, and if you're worried that you won't be able to get the latest dataset due to the schedule refresh plan, you actually can do this via REST API [Refresh Dataset], and then use [Get Dataset] immediately.
Mark this post as solution if this helps, thanks!
3 Replies
- DavisBISolution Specialist
Hi, Nicolas_P
You can use [Get Dataset] to get data from Power BI Service, and if you're worried that you won't be able to get the latest dataset due to the schedule refresh plan, you actually can do this via REST API [Refresh Dataset], and then use [Get Dataset] immediately.
Mark this post as solution if this helps, thanks!
- Nicolas_PNew Member
Request was issued, many thx!