是否有可能创建一个可以上传blobstore中的照片的谷歌应用程序引擎终点? [英] Is it possible to create a google app engine end point which can upload a photo in a blobstore?

查看:118
本文介绍了是否有可能创建一个可以上传blobstore中的照片的谷歌应用程序引擎终点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有可能通过使用终结点在appengine blobstore中上传照片?如果是,请告诉我如何或重定向到任何可用的资源。



如果不是,请您公开任何简单的替代方案:


  1. 使用其他库?

  2. 在其他库中使用标准servlet?


解决方案

这篇文章应该很有用:通过应用引擎端点API来提供blobstore图片



请参阅另一种方法 Photofeed示例Java应用程序。还有一个示例代码。此应用程序使用数据存储来存储照片元数据和有关照片和谷歌云存储的评论来存储实际照片。 //stackoverflow.com/questions/12381238/image-upload-in-google-app-engine\">在Google App Engine中上传图片,其中提到使用Blobstore存储


I would like to know if is it possible to upload a photo in a appengine blobstore by using an end point ?

If yes, please tell how or redirect to any available resource.

If not, can you please expose any simple alternative :

  1. Using another library ?
  2. Using a standard servlet with other libraries ?

解决方案

This post should be useful : serving blobstore image through app-engine endpoints api

Please see another approach The Photofeed sample Java app. There is also a sample code . This app uses datastore to store photo metadata and comments about the photos and google cloud storage to store the actual photo.

Also check this post on Image Upload in Google App Engine which mentions about storage using Blobstore

这篇关于是否有可能创建一个可以上传blobstore中的照片的谷歌应用程序引擎终点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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