cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors