Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
so i have an API link to get data, it requires simply a post command with the api link and some body information
the body info is as followed:
This works fine in Postman and I get the data in JSON format, but im curious how i can do the same in Power BI. Any help is appreciated
Also a second thing would be to make a script to receive the access token (the priority goes out to the one above)
It's a simple Post login link where the body is as follows:
So the password and username and domain is given in the body, not in the authorization tab in Postman.
Hi @SteffH ,
You can refer the following links to connect API in Power BI Desktop by web connector:
How do I connect to REST APIs with Power BI? (Part 1)
Chris Webb's BI Blog: Working with Web Services in Power Query
Web.Contents(
"https://www.regonline.com/api/default.asmx/GetEvents",
[
Query=[ #"filter"="", #"orderBy"=""],
Headers=[#"APIToken" = "insertAPITokenHere"]
])
Read API Data with Power BI using Power Query
And about how to get access token, you can refer the following video to get it.
Building a Power BI Admin View [Part 2]: Obtaining a Refreshable Access Token
Get access token
Best Regards
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |