celliott1997 celliott1997 - 1 year ago 168
Vb.net Question

Web Requests in UWP Apps

I am new to developing apps for the Universal Windows Platform, and am unsure on how to perform HTTP Requests.

Could someone post an example of how to perform a basic GET request to a URI in both VB.Net and JavaScript in UWP apps? This will help me to understand the basic mechanics of performing web requests.


Answer Source

Check the documentation, there you can see the behaviour of that component

Take a lok on this:

    public async Task DoRequest()
        var client = new HttpClient();
        var response = await client.GetAsync("http://wwww.bing.com");
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download