1 | static S createSuperHighSnippet(S text, S title, int type, S user, S pass) { |
2 | S addURL = "http://tinybrain.de:8080/tb-int/add_snippet.php"; |
3 | Map query = litmap("type", type, |
4 | "superhigh", 1, |
5 | "public", 1, |
6 | "text", text, |
7 | "name", title, |
8 | "_user", user, |
9 | "_pass", pass); |
10 | S answer = doPost(query, addURL); |
11 | if (!isSnippetID(answer)) fail(answer); |
12 | print("Snippet created. " + formatSnippetID(answer)); |
13 | ret formatSnippetID(answer); |
14 | } |
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: | 653 / 634 |
Referenced in: | [show references] |