Re: POST, content-type: application/json and json_decode
| From: | Ivan Enderlin @ Hoa | Date: | Fri, 21 Sep 2012 11:32:59 +0000 |
| Subject: | Re: POST, content-type: application/json and json_decode | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-63214@lists.php.net to get a copy of this message | ||
On 21/09/12 13:31, Starry Sky wrote:
Hi, Hi,
This may lead to a BC break. If the post body contains a variable with the same name in the JSON, the $_POST will be confusing. Can you give me an example please?-- Ivan Enderlin Developer of Hoa http://hoa.42/ or http://hoa-project.net/ PhD. student at DISC/Femto-ST (Vesontio) and INRIA (Cassis) http://disc.univ-fcomte.fr/ and http://www.inria.fr/ Member of HTML and WebApps Working Group of W3C http://w3.org/