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.
EDIT:
My question was inspired from this answer: http://stackoverflow.com/questions/813487/how-to-post-json-to-php-with-curl/813512#813512
He says:
From a protocol perspective file_get_contents("php://input") is actually more correct, since you're not really processing http multipart form data anyway.