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

7
LINES

< > BotCompany Repo | #1015724 // doPostJSON - posts JSON content

JavaX fragment (include)

1  
sS doPostJSON(S json, S url) ctex {
2  
  URL _url = new URL(url);
3  
  ping();
4  
  URLConnection conn = _url.openConnection();
5  
  conn.setRequestProperty("Content-Type", "application/json");
6  
  ret doPost(json, conn, _url);
7  
}

Author comment

Began life as a copy of #1000565

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1015724
Snippet name: doPostJSON - posts JSON content
Eternal ID of this version: #1015724/4
Text MD5: 7f710c877efdcb6815c167cb84d4c78f
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-02 17:24:04
Source code size: 221 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 430 / 488
Version history: 3 change(s)
Referenced in: [show references]