request.json_body gives a JSON representation of the request data:

http://docs.pylonsproject.org/projects/pyramid/en/master/narr/webob.html#request-json-body

--Paul

On May 21, 2014, at 3:50 AM, Heikki Mustonen <[email protected]> wrote:

> Greetings,
> 
> Sorry about double post, if it occured, but i got some weird error message on 
> last time when I posted on this group.
> 
> 
> I've been implementing Canjs javascript-framework on top of Pyramid app 
> (canjs.com).
> 
> I've some issues in implementing some features and the ajax-communication.
> 
> Example:
> Javascript Frontend:
> http://codeshare.io/wHzhu
> 
> Pyramid Backend:
> http://codeshare.io/DMm8z
> 
> I'm a bit puzzled. How am I able to get the stringified json from the request?
> 
> Yours
> 
> 
> -- 
> Heikki Mustonen
> Rovaniemi, Finland
> Tel:+35840-5920448
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "pylons-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/pylons-discuss.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to