krrishna
krrishna

Reputation: 2078

How to: HTTP GET and POST request with parameters in Win 8 modern app using C# and XAML

I am using below code in C# .Net console app to make HTTP get and POST request .And what to know how do we do this in Win 8 modern app using C# and XAML ?

System.Net.HttpWebRequest req = (HttpWebRequest)System.Net.WebRequest.Create(URI);
System.Net.WebResponse resp = req.GetResponse();

Upvotes: 2

Views: 5988

Answers (1)

Emmanuel N
Emmanuel N

Reputation: 7449

You can do something like this MSDN Sample

Upvotes: 2

Related Questions