与发布的WebRequest [英] Post with WebRequest

查看:134
本文介绍了与发布的WebRequest的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想发布到谷歌这样我就可以登录到谷歌阅读器和下载订购清单,但我无法找到一个方法来张贴在窗户谷歌7手机的SDK,没有任何人有关于如何做一个例子?本

I am trying to post to google so I can log into Google Reader and download subscription list, but I am unable to find a way to post to google in the windows 7 phone sdk, does anyone have an example on how to do this?

*编辑:对不起,不是很清楚我想使用POST方法,提交的电子邮件和密码来登录Google和检索SID。我已经使用的WebClient和HttpWebRequest的,但我已经看到发送POST数据的所有例子中,API调用不是在Windows 7的手机SDK。

* Sorry wasn't very clear I am trying use the POST method, to submit an email and password to google login and retrieve a sid. I have used WebClient and HttpWebRequest but all the examples I have seen to send post data, the api calls are not in the windows 7 phone sdk.

推荐答案

您使用 RESTSharp 为您的Windows Phone 7项目试过吗?最新的版本支持Windows Phone 7和我有没有问题,与它流行的REST API的工作。当您尝试使用谷歌阅读器API您的特定情况下,的本文由卢克 - 洛瑞都不可能帮助。

Have you tried using RESTSharp for your Windows Phone 7 project? The latest release supports Windows Phone 7 and I have had no issues working with popular REST APIs with it. In your particular case where you are trying to use the Google Reader API, this article by Luke Lowry can possibly help.

这篇关于与发布的WebRequest的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆