title: How to send a request like in terminal in react?
body: <p>I'm trying to send the following request in my react application</p>
  
  <pre><code>curl -H 'Client-ID: p0gch4mp101fy451do9uod1s1x9i4a' \
  -X GET 'https://api.twitch.tv/helix/streams?game_id=33214'
  </code></pre>
  
  <p>I am able to put this exact string into my terminal and receive a response, but how exactly do I go about doing this in JavaScript or REACT?</p>
  
  <p>I have tried using fetch in react but that only allows me to send a get request and that gives me an response of unauthorized access because it only takes a link, and if I send the entire thing as a string it'll just give me a 404 error because it's unrecognized.</p>
  
  <p>In my terminal I can just paste in the whole string and get a valid response back. how do I replicate this in JavaScript or react? </p>