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

14
LINES

< > BotCompany Repo | #1003235 // createSuperHighSnippet

JavaX fragment (include)

static S createSuperHighSnippet(S text, S title, int type, S user, S pass) {
  S addURL = "http://tinybrain.de:8080/tb-int/add_snippet.php";
  Map query = litmap("type", type,
    "superhigh", 1,
    "public", 1,
    "text", text,
    "name", title,
    "_user", user,
    "_pass", pass);
  S answer = doPost(query, addURL);
  if (!isSnippetID(answer)) fail(answer);
  print("Snippet created. " + formatSnippetID(answer));
  ret formatSnippetID(answer);
}

Author comment

Began life as a copy of #1002336

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1003235
Snippet name: createSuperHighSnippet
Eternal ID of this version: #1003235/1
Text MD5: be3c6597d73256909806d630d9ea5270
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-06-05 22:27:10
Source code size: 468 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 569 / 541
Referenced in: [show references]