sbool getSnippetTitles_verbose; static Map<S, S> getSnippetTitles(Collection<S> ids) ctex { if (empty(ids)) ret new HashMap; S url = tb_mainServer() + "/tb-int/get-titles.php"; S ids2 = join(" ", parseSnippetIDs(ids)); ret trimValues(transformKeys(jsonDecodeMap( doPost(mapPlus(standardCredentialsMap(), ids := ids2), url)), func(S id) { fsI(id) })); }
Began life as a copy of #1001012
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1003764 |
Snippet name: | getSnippetTitles - returns formatted snippet IDs as keys |
Eternal ID of this version: | #1003764/3 |
Text MD5: | 32d0fdefd17b55b9bbb0f4785daf6420 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-08-29 16:53:49 |
Source code size: | 380 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 708 / 741 |
Version history: | 2 change(s) |
Referenced in: | #1003875 - loadSnippets v2 - fetch multiple snippets in one go - yes it uses POST (LIVE) #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1009352 - getSnippetTitles_cached - returns formatted snippet IDs as keys |