Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago

How to connect to a secure API

I want to access data from a secure api which request URL is :

[HOST]/[BASE_PATH]?apiKey=[API_KEY]

 

I've already generated an authentification token which works: 

 

In Power BI, I want to set a Web Data Source. For the moment I have done the following steps :

 

- assign my token value to the parameter "apikey"

 

 

- then I want to define a API web type authentification so I've entered my token value in the Key field and choose the lower level to apply those parameters (which corresponds to [HOST]/[BASE_PATH]?) but I have an error "a web API key can be specified when a web API key name is provided"