This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
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.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |