使用zoho api在浏览器中打开文档

使用zoho api在浏览器中打开文档,api,document,zoho,Api,Document,Zoho,嗨,我正在尝试将zoho集成到我的网站中,并在浏览器中打开一个文档 我正在使用Wamp服务器 这是我尝试使用的代码: <html> <head> </head> <body> <form method="POST" action="http(s)://export.writer.zoho.com/remotedoc.im" target="_self" accept-charset="UTF-8"> <input type

嗨,我正在尝试将zoho集成到我的网站中,并在浏览器中打开一个文档 我正在使用Wamp服务器

这是我尝试使用的代码:

 <html>
<head>
</head>
<body>

<form method="POST" action="http(s)://export.writer.zoho.com/remotedoc.im" target="_self" 

accept-charset="UTF-8">
<input type="hidden" name="url" value="http://localhost/paper.doc">
<input type="hidden" name="apikey" value="here goes api key">
<input type="hidden" name="output" value="url">
<input type="hidden" name="mode" value="normaledit">
<input type="hidden" name="filename" value="paper.doc">
<input type="hidden" name="lang" value="en">
<input type="hidden" name="skey" value="here goes secret value">
<input type="hidden" name="id" value="12345678">
<input type="hidden" name="format" value="doc">
<input type="hidden" name="saveurl" value="http://localhost/save.php">
<input type="submit" name="submit" value="Open/Edit">
</form>
</body>
</html>

我不知道我得到了这个错误: 禁止的

您没有访问此服务器上的/http://export.writer.zoho.com/remotedoc.im的权限

我已正确输入api密钥和密钥 我只是糊涂了,被困在这里。我被封锁了

以下是文档:

您已经从url中删除了,对吗?我知道这似乎是一个愚蠢的问题,但我想我应该检查一下,以防你忽视了它。url为我解析并发出“api密钥无效”警告


给出的错误似乎表明浏览器认为它是一个相对url而不是绝对url。

我对ZOHO不太了解,但我希望将来在我的项目中实现这一点。正如我在文章中读到的,saveurl必须是可公开访问的,如果它不能公开访问,则会给出一个错误,而localhost不能公开访问,因此会给出一个错误。

谢谢。.我再次得到这个错误结果=错误错误\u CODE=1841警告=无法导入内容。.thnaks il尝试解决:)