Upload image to imgur from another URL
Hi folks,
I am writing app in C# which should provide to user imgur link of picture which already exists on some other URL (so, not from local machine). I have implemented app so far (dummy) that app downloads image from its original URL and then local copy of image is being uploaded to imgur server and I get my imgur URL. I set image property in this way:
{ "image", Convert.ToBase64String(File.ReadAllBytes(localFileName)) }
So, basically, I read image locally from machine and pass that byte stream converted to base string in my request.
My question is: Is there a way not to do that, but to send URL where image is located and that I become imgur URL of that image without saving it locally on machine before making request to imgur server?
Many thanks in advance for any kind of answer.
Best regards.
UE
Customer support service by UserEcho