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).

1  
sS doPostWithHeaders(S url, L headers, Map postData) {
2  
  temp tempSetTL(doPost_extraHeaders, litmap(asObjectArray(headers)));
3  
  ret doPost(postData, url);
4  
}
5  
6  
sS doPostWithHeaders(S url, SS headers, Map postData) {
7  
  temp tempSetTL(doPost_extraHeaders, headers);
8  
  ret doPost(postData, url);
9  
}

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: 185 / 265
Version history: 2 change(s)
Referenced in: [show references]