TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Dileep Singh
NA
46
8.1k
How to parse the File response from API in mvc Core
Feb 27 2020 12:57 PM
Hi,there I have created the API for getting image which is looks like this..
[HttpGet]
public
IActionResult Get()
{
Byte[] b = System.IO.File.ReadAllBytes(@
"E:\\Test.jpg"
);
// You can use your own method over here.
return
File(b,
"image/jpeg"
);
}
Now i want to consume this api in another application which is in mvc core 3.0 I m calling api using HttpClient.. Getting response from the api but not able to parse that response.. Any suggestions
Reply
Answers (
1
)
powershell script to update application patch
Is Crystal report for visual studio 2019 free