title: Any better way in Power BI to make REST API calls like HTTP GET to read data using a dynamic Access Token (Key)
body: <p>Trying to generate few Power BI reports using REST API calls. This will require to generate an "Access Token" initially and then pass that Key to various API calls for authentication purposes, to read data.</p>
  
  <p>I saw many threads that is using "Access Token" (Key) as a URL query-string or as HTTP header in power BI Web data source. But trying to achieve the Access Token created dynamically and then pass as headers in GET calls.</p>
  
  <p>At the moment I am trying to read data from <a href="https://www.adobe.io/apis/documentcloud/sign.html" rel="nofollow noreferrer">Adobe sign</a> and they exposing data through REST API calls and authorized users can use HTTP GET to read data from their portal. There is a facility to create organisation-specific application and Access Tokens using their API's.</p>
  
  <p>So please share if if you know a way to generate an Access Token dynamically during each dateset-refresh using POST and then call GET to fetch data needed for reports.</p>
  
  <p>The below images are proposed API calls and tested through <a href="http://www.postman.com" rel="nofollow noreferrer">Postman</a></p>
  
  <p><a href="https://i.stack.imgur.com/5vR5k.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5vR5k.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/h6Qvj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/h6Qvj.png" alt="enter image description here"></a></p>