request= new XMLHttpRequest() request.open("POST", "JSON_Handler.php", true) request.setRequestHeader("Content-type", "application/json") request.send(str_json) [... code to display response ...]