Uses 911K of libraries. Click here for Pure Java version (2769L/15K).
1 | !7 |
2 | |
3 | cmodule PostServerCountSpike > DynPrintLog { |
4 | switchable S apiKey; |
5 | |
6 | start-thread { |
7 | if (empty(apiKey)) ret with print("Need API key"); |
8 | S url = "https://mythicalbots.xyz/api/bot/631845126095896579"; |
9 | doPost_extraHeaders.set(litmap(authorization := apiKey)); |
10 | print(postPage(url, server_count := 6)); |
11 | } |
12 | } |
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1025827 |
Snippet name: | Post Server Count to MythicalBots Spike |
Eternal ID of this version: | #1025827/2 |
Text MD5: | e8893088c5ffbf49bab46f8a25d9536c |
Transpilation MD5: | 3cc3211bf576f09b60b7b95a9e7414f2 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-10-24 13:10:05 |
Source code size: | 337 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 226 / 313 |
Version history: | 1 change(s) |
Referenced in: | [show references] |