Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@bendtheory
Created April 4, 2021 00:08
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/100593839bd8a829bf5476eb98d4f481 to your computer and use it in GitHub Desktop.
Save bendtheory/100593839bd8a829bf5476eb98d4f481 to your computer and use it in GitHub Desktop.
function getCard() {
$.ajax({
url: "/savings/getcard",
type: "GET",
data: {id: 'abc'<', num: '123'<'},
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