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

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

Ansible warning on jinja2 braces on when -