It would be great to have a page that accepts plain json instead of form encoded data.
It's great that there is a form for testing and I don't propose changing that. I'm simply proposing having another page, maybe 'jsonRequest.php' that accepts plain json.