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
{"title":"asfdasdfasdfasdfasdf","seo_url":"asfdasdfasdfasdfasdf","author":"asfdasfd","sectionid":"7","summary":"awfawf","has_external_link":false,"external_link":"","body":"awfawfeawefawef","published":"on"}

screenshot:
http://n4.nabble.com/file/n1462014/Capture.png 

This is the result of calling newItem({...data...}) followed by save() from
dojox.data.JsonRestStore.

The data does not show up in the params of the zend framework request object
or in $_POST.

Thanks!
adam
-- 
View this message in context: 
http://n4.nabble.com/Getting-JSON-POST-data-from-Zend-tp1462014p1462014.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to