title: Imgur API uploading
body: <p>So there is this line of code </p>
  
  <pre><code>String data = URLEncoder.encode("image", "UTF-8") + "=" + URLEncoder.encode(Base64.encodeBase64String(baos.toByteArray()).toString(), "UTF-8");
  
  data += "&amp;" + URLEncoder.encode("key", "UTF-8") + "=" + URLEncoder.encode(YOUR API KEY GOES HERE, "UTF-8");
  </code></pre>
  
  <p>and when I registered for the Imgur API I was given a client_id and a client_secret and was wondering which one I use for where it says "YOUR API KEY GOES HERE" also in the first part in the second line where it says "key" what do I enter there? Also is the site to upload it <a href="http://imgur.com/api/upload" rel="nofollow">http://imgur.com/api/upload</a> because I have seen a few different ones. </p>