Skip to content

OutwardBuckle/IMGBB-Upload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

IMGBB Upload via PowerShell

PowerShell script to automate upload to IMGBB.com

https://api.imgbb.com/

Basic single item example:

$image_file = "c:\temp\img.png"
$apikey = 'xxxxxxxxxxxxxx'
####
$image = Get-Item $image_file
$uri = 'https://api.imgbb.com/1/upload?key=' + $apikey
$Form = @{
	image = $image
}
$response = Invoke-RestMethod -Method Post -Form $Form -Uri $uri
$response.data.url

About

PowerShell script to automate upload to IMGBB.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published