api - Getting response on GET Request C# -


i'm trying following code execute request using c#.

using (webclient wc = new webclient())         {             string url = url;             wc.headers.add("authorization", "bearer token");             var json = wc.downloaddata(url);             console.write(json);            } 

however, timeout expired exception. tried same request on https://www.hurl.it/ , able response. missing something. i'm using parameters in url.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -