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

6
LINES

< > BotCompany Repo | #1017994 // uploadToStaticPagesBot - returns URL

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (8116L/49K).

1  
sS uploadToStaticPagesBot(S html) {
2  
  S url = "https://botcompany.de/" + psI(#1017992) + "/raw/upload";
3  
  S s = postPage(url, +html);
4  
  assertTrue(s, cic(s, "saved"));
5  
  ret makeAbsoluteURL(url, html_firstLinkURL(s));
6  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ekrmjmnbrukm, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1017994
Snippet name: uploadToStaticPagesBot - returns URL
Eternal ID of this version: #1017994/5
Text MD5: e48de512e43af4cfefdd78a6c6a6ff08
Transpilation MD5: 4c37c4b3998833d248c4e1b4764043b1
Author: stefan
Category: javax / web bots
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-09-22 23:45:56
Source code size: 224 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 289 / 387
Version history: 4 change(s)
Referenced in: [show references]