On Wed, Apr 22, 2009 at 12:37 AM, arnie <parvez...@rediffmail.com> wrote:
> > For a google app engine application using django web framework, how > can we send xml as part of request? > When I define a function in views.py like this: > > def businesslist(request): > > Then I want to extract the xml from the request. I have to send an xml > from the iphone application to the google app engine application that > will save the contents of xml into the datastore tables > Any idea how can we do this? The raw payload of a POST request handled by your view can be fetched in the 'raw_post_data' attribute of the HttpRequest: xml = request.raw_post_data -- Matt McDonald --~--~---------~--~----~------------~-------~--~----~ 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-appengine@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 -~----------~----~----~----~------~----~------~--~---