title: Can I declare credentials only once for a REST API?
body: <p>I am using Power Query within Power BI Designer to query a REST API. The first request is to:
  <a href="http://domain/httpAuth/app/rest/server" rel="nofollow">http://domain/httpAuth/app/rest/server</a>
  which returns:</p>
  
  <pre><code>&lt;server&gt;
  &lt;builds href="/httpAuth/app/rest/builds"/&gt;
  &lt;/server&gt;
  </code></pre>
  
  <p>From there I use Power Query to query <a href="http://domain/httpAuth/app/rest/builds" rel="nofollow">http://domain/httpAuth/app/rest/builds</a> in order to get a list of builds and then iterate over the list of builds, calling each one in turn. The format of the URL for each build is:
  <a href="http://domain/httpAuth/app/rest/builds/id:buildId" rel="nofollow">http://domain/httpAuth/app/rest/builds/id:buildId</a></p>
  
  <p>The problem is I'm getting prompted to enter credentials for every single request. This is tedious and unworkable (we have a lot of builds).
  Is there a way to define the credentials once for (say) stub <a href="http://domain/httpAuth/app/rest" rel="nofollow">http://domain/httpAuth/app/rest</a> and have every resource under that stub use the same credentials?</p>