I think you misread what I said in my previous post - I'm talking about when you send it with a mime type of
You can, of course, submit data (via Ajax, or via a standard HTML form) where one or more fields contain a JSON string. You could then access this string via the
$_POST array within your PHP script, and decode the JSON string into PHP from there.
However, the most common way of sending JSON to a server is via a pure
application/json request, as the OP seemed to be aiming to do.