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


Groups > comp.lang.python > #74355

Re: how can i get "body" values?

Newsgroups comp.lang.python
Date 2014-07-11 03:10 -0700
References <773bcf4f-cda9-4c22-8922-23732a50a94c@googlegroups.com>
Message-ID <df3de2f1-1193-4061-8b9e-51427fefe8d4@googlegroups.com> (permalink)
Subject Re: how can i get "body" values?
From marco.nawijn@colosso.nl

Show all headers | View raw


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
 

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

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

csiph-web