Re: POST, content-type: application/json and json_decode

From: Date: Fri, 21 Sep 2012 11:38:20 +0000
Subject: Re: POST, content-type: application/json and json_decode
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-63215@lists.php.net to get a copy of this message
Ignore my former post please.. I forgot the "Content-Type: application/json" in your proposal. On Fri, Sep 21, 2012 at 7:32 PM, Ivan Enderlin @ Hoa < ivan.enderlin@hoa-project.net> wrote: > 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/ > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.internals (#63215) next »