Imgur is a free and popular image hosting service that does not require registration to use.
So there is this line of code String data = URLEncoder.encode("image", "UTF-8") + "=" + URLEncoder.encode(Base64.encodeBase64String(baos.toByteArray()).…
java api imgur