View PDF file on local server using google API

戏子无情 提交于 2019-12-12 05:47:57

问题


How to view PDF file or any other extensions like [doc - xls] on local server using Google Doc API

I used a Wordpress plugin called "Embed Any Document" and works, but the files should be accessible on the web.

but in my case the file is locally, so how to make it with the Google API directly if its not possible with any plugin?


回答1:


The Google drive API gives you access to insert update delete and download the files on Google drive.

There is no API that will allow you to view the file. You will need to download the file then view it.



来源:https://stackoverflow.com/questions/42367384/view-pdf-file-on-local-server-using-google-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!