title: How to use TypeScript's async/await and fetch with parameters?
body: <p>I've used the following code:</p>
  
  <pre><code>let response = await fetch("/LostEnergyCalculation/GetGridAndPieChartsData");
  let data = await response.json();
  </code></pre>
  
  <p>without parameters and it works fine, but how to use it with parameters?</p>