JSFiddle - React, Tailwind, and code Playground
by Sivasakthi Chandrasekaran
HTML
<button type="button" onclick="loadXMLDoc()">Post Call</button>
<p id="demo"></p>
JavaScript
function loadXMLDoc() {
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
document.getElementById("demo").innerHTML =
this.responseText;
}
};
var url = "http://nfrel.herokuapp.com/api/v1/push_services/[email protected]&chain_id=70&service_type=1&select_type=manual_enter&user_ids=350427&point=11&year=2016&month=11&day=29&hour=01&minute=01&time_zone_default=EST";
xhttp.open("POST", url , true);
xhttp.send();
}