我想从用户谷歌驱动器下载spreadhseets。我遇到了CORS问题。谷歌驱动器:gsheets通过REST API下载
阅读本:
https://github.com/google/google-api-javascript-client/issues/47
我努力让自己在服务器端的GET请求。我尝试使用restTemplate.exchange,但我不知道我的回应应该在什么格式。基本上完全丢失。
有没有办法让GET拉取文件并传回我的前端?
我不断收到这个错误我尝试任何格式:
org.springframework.web.client.RestClientException:无法提取响应:没有合适的HttpMessageConverter发现响应类型[接口java.sql.Blob中]和内容类型[应用程序/ vnd.openxmlformats-officedocument.spreadsheetml.sheet]
任何帮助非常感谢。