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

9
LINES

< > BotCompany Repo | #1030465 // doPostWithHeaders

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

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

sS doPostWithHeaders(S url, L headers, Map postData) {
  temp tempSetTL(doPost_extraHeaders, litmap(asObjectArray(headers)));
  ret doPost(postData, url);
}

sS doPostWithHeaders(S url, SS headers, Map postData) {
  temp tempSetTL(doPost_extraHeaders, headers);
  ret doPost(postData, url);
}

Author comment

Began life as a copy of #1026230

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030465
Snippet name: doPostWithHeaders
Eternal ID of this version: #1030465/3
Text MD5: 76ab31005b365b6da6f2ea6214189ed4
Transpilation MD5: 29bd7792f0bc12e3c9121b91915647b1
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-12-22 23:19:52
Source code size: 300 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 183 / 262
Version history: 2 change(s)
Referenced in: [show references]