Gunakan objek AJAX XMLHTTPREQUEST di JavaScript untuk mengirim data JSON ke server
request= new XMLHttpRequest()
request.open("POST", "JSON_Handler.php", true)
request.setRequestHeader("Content-type", "application/json")
request.send(str_json)
[... code to display response ...]
Cheerful Copperhead