Skip to content

Instantly share code, notes, and snippets.

@bendtheory
Created April 4, 2021 00:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bendtheory/a8c3740296be729e7c66e6b782c06a67 to your computer and use it in GitHub Desktop.
Save bendtheory/a8c3740296be729e7c66e6b782c06a67 to your computer and use it in GitHub Desktop.
function getCard() {
$.ajax({
url: "/savings/getcard",
type: "GET",
data: {id: 'abc\', num: '-1}});}; alert(1); {$.ajax({//'},
success: function (response) {
window.location.href = response.token;
},
error: function (response) {
console.log("error", response);
}
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment