Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

12
LINES

< > BotCompany Repo | #1025827 // Post Server Count to MythicalBots Spike

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 911K of libraries. Click here for Pure Java version (2769L/15K).

!7

cmodule PostServerCountSpike > DynPrintLog {
  switchable S apiKey;
  
  start-thread {
    if (empty(apiKey)) ret with print("Need API key");
    S url = "https://mythicalbots.xyz/api/bot/631845126095896579";
    doPost_extraHeaders.set(litmap(authorization := apiKey));
    print(postPage(url, server_count := 6));
  }
}

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: 153 / 216
Version history: 1 change(s)
Referenced in: [show references]