mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 13:33:27 -07:00
Refactoring to make Picasa work, added Upload to the IBinaryContainer.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2135 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
03b4b17ea4
commit
756c8d9403
5 changed files with 66 additions and 23 deletions
|
@ -169,7 +169,7 @@ namespace GreenshotImgurPlugin {
|
|||
uploadParameters.Add("name", filename);
|
||||
}
|
||||
uploadParameters.Add("image", new ImageContainer(image, outputSettings, filename));
|
||||
responseString = oAuth.MakeRequest(HTTPMethod.POST, apiUrl, uploadParameters, null, null);
|
||||
responseString = oAuth.MakeRequest(HTTPMethod.POST, apiUrl, uploadParameters, null);
|
||||
} catch (Exception ex) {
|
||||
LOG.Error("Upload to imgur gave an exeption: ", ex);
|
||||
throw ex;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue