Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 오블완
- group by
- github
- MongoDB
- SQL
- 트랜잭션
- analytics4
- 티스토리챌린지
- 추상클래스
- 자바
- 리눅스
- git
- oracle
- JPA
- mssql
- pandas
- 호이스팅
- IntelliJ
- rsync
- DBMS
- MariaDB
- spring
- Python
- mysql
- docker
- Linux
- PostgreSQL
- 명령어
- java
- Javascript
Archives
- Today
- Total
목록2024/09/10 (1)
hanker

1. HttpUrlConnection 로컬에서 돌고있는 API를 하나 실행시켜서 결과값을 받아보자.- API@RequestMapping("/test")public Map test() { Map map = new HashMap(); map.put("index", "100"); map.put("name", "spring"); return map;} - URL 호출public static void main(String[] args) throws Exception { try { // 요청할 URL (HTTP) URL url = new URL("http://127.0.0.1:2000/test"); // HttpURLConnection 객체 생성 ..
JAVA
2024. 9. 10. 14:34