Skip to content

Instantly share code, notes, and snippets.

Created May 16, 2013 02:44
Java using HttpURLConnection to get or post
private String excuteGet(String desiredUrl)
throws Exception {
URL url = null;
BufferedReader reader = null;
StringBuilder stringBuilder;
try {
// create the HttpURLConnection
url = new URL(desiredUrl);
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
seasu /
Created September 10, 2019 05:49
Keybase Proof

Keybase proof

I hereby claim:

  • I am seasu on github.
  • I am seasu ( on keybase.
  • I have a public key ASCCzrHyplGYPshhzMnU0yrZzVQGCG2XdX1OrIiQ0kNkFAo

To claim this, I am signing this object: