Last active
April 2, 2020 03:05
-
-
Save Fuwn/5b1a915bfe2615c467d268fb737f24d7 to your computer and use it in GitHub Desktop.
Request AES Key.
This file contains 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
// You must have jQuery installed to use this script. | |
// | |
// --- How to use: --- | |
// 1. Install jQuery if not already installed. | |
// 2. Move THIS script into a safe directory. | |
// 3. Call THIS script in head via <script src="/path/to/Request-AES-Key.js"></script> | |
// 4. Copy THIS span tag and include somewhere on page; <span id="serverTime"></span> | |
// 5. Done. | |
var settings = { // Settings | |
"async": true, | |
"crossDomain": true, | |
"url": "https://benbotfn.tk/api/v1/aes", | |
"method": "GET", | |
"headers": {} | |
} | |
$.ajax(settings).done(function (response) { // Grabbing response | |
document.getElementById("serverTime").innerHTML = JSON.stringify(response); // Converting response to string and outputting | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
so where do i type in this command