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

9
LINES

< > BotCompany Repo | #1026230 // postPageWithHeaders

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

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

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

Author comment

Began life as a copy of #1025837

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1026230
Snippet name: postPageWithHeaders
Eternal ID of this version: #1026230/4
Text MD5: 2acf5bd21534c88e38b0b24aec00406c
Transpilation MD5: b639aa619691859f88abfb9605b662d1
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:16:48
Source code size: 310 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 221 / 350
Version history: 3 change(s)
Referenced in: [show references]