[fw-general] Getting JSON POST data from Zend?

2010-02-04 Thread OakBehringer
Not really sure if I should be posting this in the Zend Framework or Dojo mailing list, but here we go... How to easily get post data in php/zf if it's json instead of 'normal' query string? i.e. an ajax http post is made and in firebug the following is listed under the post tab: Source

Re: [fw-general] Getting JSON POST data from Zend?

2010-02-04 Thread drm
Hi Adam, How to easily get post data in php/zf if it's json instead of 'normal' query string? There are two possible solutions. Either you let the server transform the json data using Zend_Json, reading it from the raw post body using the http request's getRawBody() method. I am not sure

Re: [fw-general] Getting JSON POST data from Zend?

2010-02-04 Thread Matthew Weier O'Phinney
-- OakBehringer adamkose...@gmail.com wrote (on Wednesday, 03 February 2010, 04:25 PM -0800): Not really sure if I should be posting this in the Zend Framework or Dojo mailing list, but here we go... How to easily get post data in php/zf if it's json instead of 'normal' query string?