Replies: 2 comments
-
I found the solution |
Beta Was this translation helpful? Give feedback.
0 replies
-
I found the solution |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I'm fetching an image url from the other site. I get the stream of image and I want to upload using mediaservice but I have no idea how to init the service. I read the doc and it noted like this
using (var stream = File.OpenRead("myimage.png"))
{
await api.Media.SaveAsync(new StreamMediaContent
{
Filename = "myimage.png",
Data = stream
});
}
I have no idea what the "api" is?
Could anyone kindly help me to do that?
Thanks & best regards,
Blake
Beta Was this translation helpful? Give feedback.
All reactions