I'm making a simple POST XMLHttpRequest, it is successfully posting the data but also the paylod getting appended to the URL. Is there anyway the data doesnt appended to the URL
var payLoad= JSON.stringify(ItemJSON);                                                                      
var xmlhttp = new XMLHttpRequest();                                                                 
xmlhttp.addEventListener("readystatechange", function () {                                          
  if (xmlhttp.readyState < 4){                                                                      
    }                                                                                               
    else if (xmlhttp.readyState === 4) {                                                            
      if (xmlhttp.status == 200 && xmlhttp.status < 300){                                         
            console.log("Success",xmlhttp.responseText);                                            
        }                                                                                          
    }else{                                                                                          
        alert("Error!! \\n There was an error while saving. Please retry again later.");        
                }                                                                                           
        });                                                                                                 
        xmlhttp.open("POST", URL, false);                                                                   
        xmlhttp.setRequestHeader("Content-type","application/x-www-form-urlencoded");                       
        xmlhttp.send(payLoad);  
}
 
    