On Fri, Mar 28, 2014 at 2:19 PM, Cristóbal Chao <[email protected]> wrote:
> Is it possible to create html files using either CloudStore or Blobstore? > > I want to create a function that will make post calls with html content to > my GAE server, the Server will create an html file with this content and > will send it back the url of this file. I think it's pretty simple but I > don't find the way to do that using GAE. > Yes, it is possible. But you'll have to write some custom code. App Engine applications can create files and write to Cloud Storage using libraries: here's how to do so in Java: https://developers.google.com/appengine/docs/java/googlestorage/ . Your custom application will have to accept the POST call and write a HTML file to GCS. >From there, the file can be accessed publicly by using request endpoints: https://developers.google.com/storage/docs/reference-uris . Your application can generate a URL based on the bucket and file name, and can then return it to whichever client you're using. ----------------- -Vinny P Technology & Media Advisor Chicago, IL App Engine Code Samples: http://www.learntogoogleit.com -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
