Imgur Upload Image Function ⚑

twitter logo github logo ・1 min read

Star Github Repo ⚑


  • Imgur Client ID

Click here to get your CLIENT ID

The function selects the input["input-image"] and directly uploads it to the Imgur server and in response returns a URL.


{data: {…}, success: true, status: 200}
id: "BhbW61q"
title: null
description: null
datetime: 1579679274
type: "image/jpeg"
animated: false
width: 581
height: 1032
size: 29937
views: 0
bandwidth: 0
vote: null
favorite: false
nsfw: null
section: null
account_url: null
account_id: 0
is_ad: false
in_most_viral: false
has_sound: false
tags: []
ad_type: 0
ad_url: ""
edited: "0"
in_gallery: false
deletehash: "FQbXad5wfv1kGh3"
name: ""
__proto__: Object
success: true
status: 200
twitter logo DISCUSS
Classic DEV Post from Aug 6 '19

What to put in your portfolio as a beginner web dev

Ali Rizvi profile image
MERN Stack Developer, with the passion to develop apps that can make this world better. "Whenever I get bored, I call API's"

Sore eyes?

dev.to now has dark mode.

Go to the "misc" section of your settings and select night theme ❀️