Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #74354 > unrolled thread

how can i get "body" values?

Started byFrank Liou <fk26541598fk@gmail.com>
First post2014-07-11 02:37 -0700
Last post2014-07-11 03:10 -0700
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  how can i get "body" values? Frank Liou <fk26541598fk@gmail.com> - 2014-07-11 02:37 -0700
    Re: how can i get "body" values? marco.nawijn@colosso.nl - 2014-07-11 03:10 -0700

#74354 — how can i get "body" values?

FromFrank Liou <fk26541598fk@gmail.com>
Date2014-07-11 02:37 -0700
Subjecthow can i get "body" values?
Message-ID<773bcf4f-cda9-4c22-8922-23732a50a94c@googlegroups.com>
how can i get body values use variable to Separate catch?

https://lh3.googleusercontent.com/-6Ywp4GukuCM/U7-vhF0nzuI/AAAAAAAABv4/Ovcr1O2FScs/s1600/321.jpg

i want to catch name and key values

now i use request.data

i can catch all the body 

but how can i use variable to separate and catch?

[toc] | [next] | [standalone]


#74355

Frommarco.nawijn@colosso.nl
Date2014-07-11 03:10 -0700
Message-ID<df3de2f1-1193-4061-8b9e-51427fefe8d4@googlegroups.com>
In reply to#74354
On Friday, July 11, 2014 11:37:17 AM UTC+2, Frank Liou wrote:
> how can i get body values use variable to Separate catch?
> 
> 
> 
> https://lh3.googleusercontent.com/-6Ywp4GukuCM/U7-vhF0nzuI/AAAAAAAABv4/Ovcr1O2FScs/s1600/321.jpg
> 
> 
> 
> i want to catch name and key values
> 
> 
> 
> now i use request.data
> 
> 
> 
> i can catch all the body 
> 
> 
> 
> but how can i use variable to separate and catch?

Hi Frank,

In general, you will get better response from the
group if you post the code that you have so far and
ask questions on why it doesn't work or how to proceed.

In case of your particular problem, the answer is 
"it depends". Do you use the Python standard library, 
or a webserver framework like tornado or cherrypy? 

If you still have a choice, I would recommend to use
a framework like cherrypy. It makes your life a lot 
easier.

Regards,

Marco
 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web