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)

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

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: 429 / 486
Version history: 3 change(s)
Referenced in: [show references]