I have an OCR service* that allows you to upload pictures and get the
text.
The service has a very simple REST API (/post_image) where you POST
the image (and some metadata) and you get the result in JSON format.
The service is called from Flash, Web, and other clients.

So far I've used blobs in the datastore to store and serve the images
and I want to move to the blobstore (in order to use get_serving_url)
As far as I can see, I need to break my /post_image method into two
steps: the first step will be to call a new method /prepare_upload
which will get me the upload url (by calling create_upload_url(...)),
then call the returned upload_url and get the JSON data.
To make things more awkward, the result from the upload url cannot be
the JSON data itself but a redirect to a url that returns the JSON
data.

Questions:
1. Did I analyze it right? Is is a two stepper flow for my clients?
are there any unnecessary steps??.
2. In case I got it correct, are there any plans for direct upload to
the blobstore (without calling create_upload_url(...))





* service for illustration purpose only, I don't really have this
exact service.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to