2013-12-21から1日間の記事一覧
JavaでHTTP Requestを投げる方法は以下のとおり.HttpURLConnectionクラスを使う URL url = new URL("http://www.hogehoge.com") HttpURLConnection connection = (HttpURLConnection)url.connection(); connection.setMethod("POST"); //POST GETなど conne…
JavaでHTTP Requestを投げる方法は以下のとおり.HttpURLConnectionクラスを使う URL url = new URL("http://www.hogehoge.com") HttpURLConnection connection = (HttpURLConnection)url.connection(); connection.setMethod("POST"); //POST GETなど conne…