Delphi - Http POST call procedure TForm1.Button1Click(Sender: TObject); var sl : TStringList; ResponseStream: TMemoryStream; resultBytes: TBytes; begin sl := TStringList.Create; ResponseStream := TStringStream.Create; try IdHTTP1.Request.ContentType := 'application/x-www-form-urlencoded'; sl.Add('id=' + Edit2.Text); IdHTTP1.Post(Edit1.Text, sl, ResponseStream); ResponseStream.Position := 0; SetL..
import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import java.net.URL; public class HttpGetCall { public static void main(String[] args) throws Exception { URL url = new URL("http://naver.com"); InputStream is = url.openStream(); BufferedReader inFile = new BufferedReader(new InputStreamReader(is)); String line = null; while( (line = inFile.readLine()) ..
- Total
- Today
- Yesterday
- JavaScript
- Java
- ble
- Mac
- 튜닝쇼 2008
- Delphi
- BPI-M4
- 서울오토살롱
- Spring MVC
- 지스타2007
- Delphi Tip
- flex
- sas2009
- android
- Spring
- ubuntu
- koba2010
- Linux
- Xcode
- 송주경
- 레이싱모델 익스트림 포토 페스티벌
- 일본여행
- SAS
- 전예희
- MySQL
- ffmpeg
- KOBA
- NDK
- 동경
- oracle
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |