Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

Commit

Permalink
feat(data): change sent data
Browse files Browse the repository at this point in the history
  • Loading branch information
tikrack committed Sep 10, 2024
1 parent 725641c commit 3e56303
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions script/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,10 @@ elm_save.addEventListener("click", () => {
xhr.open("POST", APP_URL + "/api/v1/verify_token");

xhr.setRequestHeader('Content-type', 'application/json; charset=utf-8');
xhr.send({
token: token
});

xhr.send(JSON.stringify({
test: "fb"
}));
}
})

Expand Down

0 comments on commit 3e56303

Please sign in to comment.