Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi everyone, hope you're doing great
I need some help to resolve an issue:
I'm getting data from a REST API, I have researched on internet and followed to an instruction, but after I inputted mandatory parameter then click OK, it just loading...forerver... 😃 I inputted these parameter on postman and it work properly.
Solved! Go to Solution.
Please follow the documentation. Use RelativePath and Query parameters. https://learn.microsoft.com/en-us/powerquery-m/web-contents#example-1
Please follow the documentation. Use RelativePath and Query parameters. https://learn.microsoft.com/en-us/powerquery-m/web-contents#example-1
Thank you for your answer. Could you please guide more detailed? I'm a little confused.
What part of the documentation is confusing?
I dont know where to input bearer token to M query below:
let
searchText = "Power Query"
in
Web.Contents(
"https://www.bing.com",
[
RelativePath = "search",
Query = [q = searchText]
]
)
Could you guide me?
Hi @Anonymous ,
Did the above suggestions help with your scenario? if that is the case, you can consider Kudo or Accept the helpful suggestions to help others who faced similar requirements.
If these also don't help, please share more detailed information and description to help us clarify your scenario to test.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
This suggestion doesn't help to solve at all, it's just a high level guidance. But I appreciate his suggestion so I accept it as solution to close the topic.
Where are you currently stuck?
I have copied code from postman and used ChatGPT to convert it to M language, it worked. Thank you @lbendlin for your help. Have a good day 😃
That goes in the Headers section as Authentication.
User | Count |
---|---|
5 | |
4 | |
3 | |
2 | |
2 |
User | Count |
---|---|
8 | |
6 | |
4 | |
4 | |
4 |