If I understand your request correctly, you are looking to upload an image 
from an iOS device to the cloud using Google Cloud Endpoints.

As far as I'm aware, Google Cloud Endpoints does not accept 
multipart/form-data encoding uploads so you would not be able to use such 
endpoints directly for uploading images or any file for that matter.  The 
solution requiring the least amount of effort would be a small App Engine 
service that accepts uploads and processes them before saving to Google 
Cloud Storage.  An example can be found in Reading and Writing to Google 
Cloud Storage 
<https://cloud.google.com/appengine/docs/python/googlecloudstorageclient/read-write-to-cloud-storage>
.

Depending on your application requirements and authentication requirements, 
you may also want to consider using Cloud Storage's JSON API directly from 
your iOS application.  With the solution and uploading images (usually 
within 10MB), I would use a multipart upload for sending everything with a 
single request.  An example of the core network requests required can be 
seen in Performing a Multipart Upload 
<https://cloud.google.com/storage/docs/json_api/v1/how-tos/multipart-upload>. 
 Since there's currently no client library specifically for Cloud Storage 
with iOS, you'd need to either use the generic Client Library for 
Objective-C REST 
<https://github.com/google/google-api-objectivec-client-for-rest> or handle API 
authentication yourself 
<https://cloud.google.com/storage/docs/authentication#apiauth>.

Hope this is helpful.

On Monday, October 24, 2016 at 9:32:41 AM UTC-4, bharat soni wrote:
>
> hello all,
>     i want an specific solution that how can i create an google cloud 
> endpoint api for image uploading with python for ios client i search lots 
> of things on google but not get any required solution please provide me a 
> specific solution of creating an api with python with google cloud endpoint 
> thanks.
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/699404ee-e479-4e7e-bf31-3d089019c031%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine]... bharat soni
    • [google-appen... 'Nicholas (Google Cloud Support)' via Google App Engine

Reply via email to