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

6
LINES

< > BotCompany Repo | #1032567 // uploadText

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

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

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

Author comment

Began life as a copy of #1032355

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1032567
Snippet name: uploadText
Eternal ID of this version: #1032567/1
Text MD5: 0073c184cc69694891d30af61e28c7d4
Transpilation MD5: 5442142263594a8f3b0bae00fd90d1e4
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-09-23 00:01:47
Source code size: 212 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 128 / 183
Referenced in: [show references]