Forum Discussion
How can i get image directly from api return image in Blazor WASM?
Hello Please, I work on the Blazor WASM project and connect to the API via its URL and token via HTTP Client and things are fine - but I have a problem in receiving data from one other API that returns images or video.
In the Inspector, when I go to Preview, I find the desired image or video.
The question is how do I capture the video or image that I'm returning so that I make it be the src value of the element of the image or video in the razor view - and the client does not want me to use base64 because it was slow when I tried it
1 Reply
- LanHuangFormer Employee
Hi ahmedmoamin,
Thanks for posting your issue here.
However this platform is used for how-to discussions and sharing best practices for building any app with .NET.Since your issue is a technical question, welcome to post it in Microsoft Q&A forum, the support team and communities on Microsoft Q&A will help you for any technical questions.
Besides, it will be appreciated if you can share it here once you post this technical question Microsoft Q&A.
Best Regards,
Lan Huang