title: PowerShell Discord Webhook
body: <p>I am getting an error while using this code</p>
  <pre><code>$uri = &quot;https://discord.com/api/webhooks/760116538895499265/yhQdNc10asfDzt8hldAJp32et1Gp_1-mvqIGPWZiAMcOwFjb5aqf7uNEF7MX6i15UKJK&quot;
  
  $hash = @{ &quot;content&quot; = &quot;heyyy&quot;; }
  
  $JSON = $hash | convertto-json
  
  Invoke-WebRequest -uri $uri -Method POST -Body $JSON
  </code></pre>
  <pre><code>Invoke-WebRequest : {&quot;message&quot;: &quot;Cannot send an empty message&quot;, &quot;code&quot;: 50006}
  At line:7 char:1
  + Invoke-WebRequest -uri $uri -Method POST -Body $JSON
  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc
     eption
      + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
  </code></pre>
  <p>what is this due to?</p>