title: Perform curl requests in javascript
body: <p>Can anyone help me how to do this in javascript if it's possible?</p>
  <pre><code>curl \
  -H 'Accept: application/json' \
  -H 'Client-ID: &lt;client_id&gt;' \
  -d'{&quot;channel_id&quot;:&lt;channel_id&gt;}' \
  -X POST 'https://open-api.trovo.live/openplatform/channels/id'
  </code></pre>