Hi, I'm trying to figure out how to load into imgur using java, does anyone have any experience of this kind?
First of all, you are best off using imgur api .
The documentation for uploading contains examples for Python and PHP that use cURL. It should be possible to adapt them to Java bindings for cURL or to other HTTP libraries such as HttpClient .
Get the developer key .
Look at their image upload APIs .
Use the Apache Commons HttpClient to create a POST request and send:
'image' is a binary image file, a base64 encoded string or URL.'key' is your registered developer API key. Click here to register for the key.
You can try cURL. http://curl.haxx.se/libcurl/java/
I used HtmlUnit with great success for such tasks. Read the Submitting a form in the Getting Started section and you will do it as soon as possible.
Submitting a form