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
Abhijeet Panpatil
NA
95
20.7k
call api using c#, MVC and print result in html page.
Mar 30 2018 9:26 PM
We have deployed api and api is working correctoly but the problem is when im click to button it rediretcs me to that api url and on that page it returns me "success" message.But i want to display that message inside html page without any redirection. I have created a web application using c#, MVC .Please help me regarding this.
My code to call api is as follows:-
<div class="row">
<div class="col-md-12">
<div style="padding:10px"><center><button type="button" style="width:80%; font-size:25px;" class="btn btn-danger" onclick="location.href='http://127.0.0.1:5000/'">Sync Movies</button></center></div>
</div>
</div
Reply
Answers (
1
)
Pick up certain values from Richtext box1 to Datagridview C#
C# little confusion please help me