title: Can a REACT App access the imgur API directly or does that need to be done server side?
body: <p>I would like users to be able to upload images to a section of my site. I would like to store these images with imgur.</p>
  <p>Basically, I would like it to work like this:</p>
  <ul>
  <li>User enters website</li>
  <li>Clicks &quot;Upload Image&quot;</li>
  <li>a modal pops up with a submit button and a &quot;select image&quot; button</li>
  <li>the user selects the image and submits it</li>
  <li>the react app first converts the image to base64</li>
  <li>it then sends a request directly to imgur to upload the image</li>
  <li>it then stores the response image id and then sends a request to the backend server that includes the imgur id of the image</li>
  <li>To display the image, the react app just takes the image is and constructs a imgur url</li>
  </ul>
  <p>But that would require me to store the authorization header and the API key directly in the application where everybody has access to it. So is it possible to do this securely or do I need to first send the image to the server and handle the upload there?<br />
  With AWS I am billed by milisecond so that would mean I'd have to pay to wait for an imgur request.</p>