On Oct 7, 11:30 am, Alessio unibs <cecchia...@libero.it> wrote: > Hi andy, thank you for answer; > Yes i try setRequestData, and if i'am right, i must use send() method > to send the request. > I did that but the $_POST php variable was empty again. My php file is > for now: > > <?php > $jsonGenerale = $_POST; > echo(count($jsonGenerale)); > ?> > > THANK YOU IN ADVANCE
What you need is $HTTP_RAW_POST_DATA, not $_POST (it only works with "form data" in either multipart/form-data or application/x-www-form- urlencoded form, not with application/json). http://www.php.net/manual/en/reserved.variables.httprawpostdata.php http://www.php.net/manual/en/reserved.variables.post.php -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.