Coldfusion 如何授权从google documents list api获取的内容下载PDF文档

Coldfusion 如何授权从google documents list api获取的内容下载PDF文档,coldfusion,google-docs,google-docs-api,Coldfusion,Google Docs,Google Docs Api,我有一份谷歌文档列表,我授权自己使用以下代码获得: <cfhttp url="https://www.google.com/accounts/ClientLogin" method="post" result="result" charset="utf-8"> <cfhttpparam type="formfield" name="accountType" value="HOSTED_OR_GOOGLE"> <cfhttpparam

我有一份谷歌文档列表,我授权自己使用以下代码获得:

<cfhttp url="https://www.google.com/accounts/ClientLogin" method="post" result="result" charset="utf-8">
        <cfhttpparam type="formfield" name="accountType" value="HOSTED_OR_GOOGLE">
        <cfhttpparam type="formfield" name="Email" value="abc@gmail.com">
        <cfhttpparam type="formfield" name="Passwd" value="xyz">
        <cfhttpparam type="formfield" name="service" value="writely">
        <cfhttpparam type="formfield" name="source" value="abc-xyz-2010">
    </cfhttp>
现在我可以通过content.xmltribute从包含所有文档的xml文件下载word文档和PPT。 但我无法下载PDF文件。我收到的错误消息是授权需要错误401。我检查了文档,它说: 也不可能手动为这些类型的文件构建下载URL。而是将经过身份验证的HTTP GET发送到条目的src链接:

<content type="text/html" src="https://doc-04-20-docs.googleusercontent.com/docs/secure/m7an0emtau/WJm.../YzI2Y2ExYWVm?h=16655626&e=download&gd=true"/>
有人能告诉我如何传递授权信息并使PDF下载链接正常工作吗。 提前多谢

用method=get替换method=post