title: Power Query API call POST method
body: <p>I have been trying to write this post request in Power Query but cannot seem to get it right</p>
  <pre><code>    let
      URL = &quot;https://polkadot.api.subscan.io/api/scan/account/reward_slash&quot;,
      headers = [#&quot;Content-Type&quot;=&quot;application/json&quot;, #&quot;X-API-Key&quot;=&quot;placeholder&quot;],
      data = Json.FromValue([tmode = 2, hold = 0, row = 20, page = 1, address = &quot;placeholder&quot;]),
      web = Json.Document(Web.Contents(URL, [Content=data, ManualStatusHandling={404, 400}])),
      #&quot;Converted to Table&quot; = Record.ToTable(web)
  in
      #&quot;Converted to Table&quot;
  </code></pre>
  <p>I am getting the following error:</p>
  <p>Code: 400</p>
  <p>message: address is a required field</p>
  <p>I could use a hand figuring out how to pass the address in a way the API will respond to.</p>
  <p>Here is a cURL request example from the documentation:</p>
  <pre><code>curl -X POST 'https://polkadot.api.subscan.io/api/scan/account/reward_slash' \
    --header 'Content-Type: application/json' \
    --header 'X-API-Key: YOUR_KEY' \
    --data-raw '{
      &quot;row&quot;: 20,
      &quot;page&quot;: 1,
      &quot;address&quot;: &quot;15fTw39Ju2jJiHeGe1fJ5DtgugUauy9tr2HZuiRNFwqnGQ1Q&quot;
    }'
  </code></pre>
  <p>Here are the docs for this specifc endpoint: <a href="https://support.subscan.io/#reward-slash" rel="nofollow noreferrer">https://support.subscan.io/#reward-slash</a></p>