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
Post a Comment