The Imgur API – Anonymous Resources

The Imgur API – Anonymous Resources.

If you’re not authenticating with OAuth before accessing this resource, then you need aDeveloper API Key.

URL: http://api.imgur.com/2/upload

Request Method Description
POST Upload an image or a URL
PUT Upload an image
Parameter Required Request Method Description
key required GET / POST Your API developer key
image required POST A binary file, base64 data, or a URL
type optional POST The type of file that’s being sent in. Accepted values: file, base64, url
name optional GET / POST The name of the file. This is automatically detected if uploading a file with POST and multipart/form-data.
title optional GET / POST The title of the image, in order to supply context. This shows up on the Imgur website.
caption optional GET / POST The caption of the image, in order to supply even more context. This shows up on the Imgur website.
Show XML Response Show JSON Response
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s