title: A web API key can only be specified when a web API key name is provided
body: <p>I was trying to get data from a vendor's REST API from Power BI. </p>
  
  <p>When getting data, under Web API, it keeps throwing this error. See attached screenshot.</p>
  
  <p><a href="https://i.stack.imgur.com/yqcTo.png" rel="noreferrer"><img src="https://i.stack.imgur.com/yqcTo.png" alt="Error message screenshot"></a></p>
  
  <p>It is a POST method where you can filter by any field in the response body (yet I'm not passing any this time).</p>
  
  <p>The query I am using to get a response is as below. Sorry I forgot where I found it.</p>
  
  <pre><code>let
  
      apiUrl = "my_api_url",
  
      token="my_api_key",
  
      options = [Headers=[Authorization="Bearer " &amp; token ]],
  
      result = Json.Document(Web.Contents(apiUrl , options))
  
  in
  
      #"result"
  </code></pre>