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
Shekher Khare
NA
21
902
Asynchronous Post request through WebClient.UploadStringTask
Sep 20 2017 5:06 PM
var webClient = new WebClient();
webClient.Headers[HttpRequestHeader.ContentType] = "application/x-www-form-urlencoded";
var result = await webClient.UploadStringTaskAsync(new Uri(url),"
[email protected]
&udid=csdcsv-e434-dsasd-333&password=test&platformId=40&applicationId=1");
return result;
*****************
Above is my code when I'm running it on a console application c# as soon request is made
the application stops.
Reply
Answers (
1
)
The underlying connection was closed: An unexpected error
java rest web service using post