title: How to upload image to imgur as a specific user?
body: <p>I am trying to upload images to imgur, and I found the way to do it below:</p>
  
  <pre><code>img = requests.post(
      'https://api.imgur.com/3/upload.json',
      headers = {'Authorization': 'Client-ID &lt;my client-id&gt;'},
      data = {
          'key': '&lt;my secret key&gt;',
          'title': 'test'
          'image': &lt;path to image&gt;
      }
  )
  j = json.loads(img.text)
  print j
  </code></pre>
  
  <p>Imgur API for image upload: <a href="https://api.imgur.com/endpoints/image#image-upload" rel="nofollow">https://api.imgur.com/endpoints/image#image-upload</a></p>
  
  <p>This works fine, but I want to be able to upload the images as a user. Where do I put my username and password?</p>