Skip to content

Instantly share code, notes, and snippets.

@bendtheory
Created April 4, 2021 00:08
Show Gist options
  • Select an option

  • Save bendtheory/100593839bd8a829bf5476eb98d4f481 to your computer and use it in GitHub Desktop.

Select an option

Save bendtheory/100593839bd8a829bf5476eb98d4f481 to your computer and use it in GitHub Desktop.

Revisions

  1. bendtheory created this gist Apr 4, 2021.
    14 changes: 14 additions & 0 deletions c.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    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);
    }
    });
    }