Created
January 30, 2024 12:00
-
-
Save BerkanSezer/81d4a8c91ad96acf90d5d381fd52bdb3 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
const parameters = {type: "save", id: 1112}; | |
const log = btoa( | |
encodeURIComponent(JSON.stringify(parameters)) | |
.replace(/%([0-9A-F]{2})/g, function toSolidBytes (match, p1) { | |
return String.fromCharCode('0x' + p1); | |
}), | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment