file_get_contents("php://input") or $HTTP_RAW_POST_DATA, which one is better to get the body of JSON

Posted by Kucebe on Stack Overflow See other posts from Stack Overflow or by Kucebe
Published on 2010-04-28T16:20:28Z Indexed on 2010/04/28 16:23 UTC
Read the original article Hit count: 262

Filed under:
|
|

And from the client side, which request type (GET or POST) is better to use, to send JSON data if I use XmlHTTPRequest? My application use this stream of data for either retrive data form database and execute some functionality in PHP.

© Stack Overflow or respective owner

Related posts about php

Related posts about JSON