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
- KOBA
- NDK
- 서울오토살롱
- 레이싱모델 익스트림 포토 페스티벌
- koba2010
- SAS
- 송주경
- 일본여행
- 지스타2007
- flex
- 전예희
- JavaScript
- Delphi Tip
- ffmpeg
- oracle
- ble
- Java
- BPI-M4
- Spring
- 동경
- MySQL
- Mac
- Linux
- ubuntu
- Spring MVC
- sas2009
- Xcode
- android
- 튜닝쇼 2008
- Delphi
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |