Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- URL url = new URL("http://IP:PORTA/sendLocalEvent?eventName=_evento");
- HttpURLConnection httpcon = (HttpURLConnection) url.openConnection();
- httpcon.setRequestMethod("POST");
- httpcon.setDoOutPut(true);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement