java request body (1) 썸네일형 리스트형 안드로이드/Android 서버 연동시 request body 셋팅 하기! 안드로이드/Android 서버 연동시 request body 셋팅 하기! 서버 연동시 request body 값 셋팅 방법 입니다. URLConnection connection = new URL(url).openConnection(); connection.setDoOutput(true); // Triggers POST. connection.setRequestProperty("Accept-Charset", charset); connection.setRequestProperty ("Content-Type", "application/x-www-form-urlencoded;charset=" + charset); try { OutputStreamWriter wr = new OutputStreamWriter(con.. 이전 1 다음