JSFiddle - React, Tailwind, and code Playground
by Ranganadh Paramkusam
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>JSON Sample</title>
<script type="text/javascript">
$(document).ready(function(){
$.ajax({
url: "http://livetaxi.com.br/livetaxi-rest/client/auth",
type: "post",
data: "name=Ranganadh&email=p.ranganadh%40phptalent.com&sha256Password=123546&phone=%2B918460800106&specialNeeds=true",
// callback handler that will be called on success
success: function(response, textStatus, jqXHR){
console.log("Hooray, it worked!");
},
error: function(jqXHR, textStatus, errorThrown){
console.log(
"The following error occured: "+
textStatus, errorThrown
);
},
complete: function(){
console.log("Complete");
}
});
});
</script>
</head>
<body>
<div id="results"></div>
</body>
</html>