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

7
LINES

< > BotCompany Repo | #1013971 - appendQueryToURL

JavaX fragment (include)

static S appendQueryToURL(S url, Map params) {
  ret url == null ? null : url + (url.contains("?") ? "&" : "?") + makePostData(params);
}

static S appendQueryToURL(S url, O... data) {
  ret appendQueryToURL(url, litmap(data));
}

Author comment

Began life as a copy of #1002141

download  show line numbers  debug dex   

Travelled to 9 computer(s): aoiabmzegqzx, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, tslmcundralx, tvejysmllsmz

No comments. add comment

Snippet ID: #1013971
Snippet name: appendQueryToURL
Eternal ID of this version: #1013971/5
Text MD5: 81d81c856020f61e259ef2406f15d27e
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-03 01:03:50
Source code size: 235 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 196 / 196
Version history: 4 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1013971 & http://1013971.tinybrain.de