Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
user180618
Helper I
Helper I

Pulling specific parameters other than action=list from an API

I am using Qualys's API documentation to pull their endpoints into Power Query. Doing the below works fine:

 

let
Url = "https://qualysapi.qualys.eu/api/2.0/fo/knowledge_base/vuln/",
AuthString = "Basic ###############################",
Source = Xml.Tables(
Web.Contents (
Url,
[
Headers = [ #"Authorization" = AuthString,
#"X-Requested-With" = "Power BI"],
Query = [action = "list"],
Content = Text.ToBinary("")
]

)
)

 

However, I'm not sure how to modify the 'Query' line to pull multiple parameters from the API, for example so that I can use both action=list and also something like echo_request.

 

Appreciate any suggestions.

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Query = [action = "list", echo_request = "1"],

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

Query = [action = "list", echo_request = "1"],

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors