开发者

Get back response from page and store into string

开发者 https://www.devze.com 2023-03-14 03:47 出处:网络
I 开发者_如何学Pythonwant to submit a get to https://graph.facebook.com/oauth/access_token and return the results into a string.

I 开发者_如何学Pythonwant to submit a get to https://graph.facebook.com/oauth/access_token and return the results into a string.

How do you do this in c#? I dont want the header and all that other stuff. Just the string that I could use for the api.


You might want to look at the WebClient class.

It provides convenient method to download data from a given URI, for instance DownloadString(URI) .

0

精彩评论

暂无评论...
验证码 换一张
取 消