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

6
LINES

< > BotCompany Repo | #1029585 // addTagToSnippet

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

Libraryless. Click here for Pure Java version (3911L/26K).

// function returns source of forwarded-to page which is kind of not helpful
// (among other things, it says "not logged in")
sS addTagToSnippet(S snippetID, S tag) {
  ret loadPageWithParams(tb_mainServer() + "/tb/add-tag.php",
    mapPlus(standardCredentialsMap(), id := psI(snippetID), +tag, doit := 1));
}

Author comment

Began life as a copy of #1029578

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1029585
Snippet name: addTagToSnippet
Eternal ID of this version: #1029585/3
Text MD5: d8601c6f24901563e5eeac6fcf6a00c9
Transpilation MD5: 7e0c7ed9cd0160878443af869c6086bf
Author: stefan
Category: javax / repository
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-08-25 20:47:07
Source code size: 314 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 253 / 338
Version history: 2 change(s)
Referenced in: [show references]