1 | static byte[] doPostBinary(String urlParameters, URLConnection conn) throws IOException { |
2 | // connect and do POST |
3 | setHeaders(conn); |
4 | conn.setDoOutput(true); |
5 | |
6 | OutputStreamWriter writer = new OutputStreamWriter(conn.getOutputStream()); |
7 | writer.write(urlParameters); |
8 | writer.flush(); |
9 | |
10 | byte[] contents = loadBinaryPage_noHeaders(conn); |
11 | writer.close(); |
12 | return contents; |
13 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1005869 |
Snippet name: | doPostBinary |
Eternal ID of this version: | #1005869/1 |
Text MD5: | 87892b89f48db355485e67291f680a0d |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-12-11 15:15:39 |
Source code size: | 393 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 655 / 645 |
Referenced in: | [show references] |