Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- byte[] outputInBytes=null;
- try {
- outputInBytes = paramsStr.getBytes("UTF-8");
- }
- catch (UnsupportedEncodingException e) {};
- OutputStream os;
- try {
- os = connection.getOutputStream();
- os.write( outputInBytes );
- os.close();
- }
- catch (IOException e) {}
- }
Add Comment
Please, Sign In to add comment