Python webapp framework and REST API

55 views
Skip to first unread message

Devraj Mukherjee

unread,
Nov 16, 2009, 3:54:21 AM11/16/09
to google-a...@googlegroups.com
Hi all,

We are writing an app with Python AppEngine and Closure. I am trying
to follow a few articles I found on how to write your own REST
services (properly). What I have gathered from reading these documents
is that when using PUT or POST I should send back formed data say in
XML or JSON.

I am sending this as part of the POST or PUT data. The webapp
framework seems to want to parse the input into name value pairs
(which makes sense), how do I access this whole string from the
request?

Thanks for any pointers.

--
"The secret impresses no-one, the trick you use it for is everything"
- Alfred Borden (The Prestiege)

风笑雪

unread,
Nov 16, 2009, 2:04:58 PM11/16/09
to google-a...@googlegroups.com
POST & PUT data is in request body:
http://code.google.com/intl/en/appengine/docs/python/tools/webapp/requestclass.html#Request_body

2009/11/16 Devraj Mukherjee <dev...@gmail.com>:
> --
>
> 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-a...@googlegroups.com.
> To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-appengine?hl=.
>
>
>
Reply all
Reply to author
Forward
0 new messages