CodeGym
AI Academy
프로모션
CodeGym University
학습
강좌
과제
설문 & 퀴즈
게임
도움말
일정
커뮤니티
사용자
포럼
채팅
아티클
성공 사례
활동
후기
구독
라이트 테마

강의

  • 리뷰
  • 회사 소개
시작
학습 시작
Start learning now
  • 진행 상황
  • 코스
  • 퀘스트 맵
  • 레슨
  • HTTP 첫걸음

    Kotlin SELF
    레벨 58,레슨 0
    클라이언트와 서버 사이의 “계약”으로서 HTTP의 기본을 정리합니다: request → response 흐름, URL 구조와 endpoint 개념, GET/ POST 메서드의 의미, Accept 및 Content-Type 헤더의 역할, 상태 코드( 2xx/ 4xx/ 5xx) 다루기와 “먼저 상태, 그다음 본문”이라는 응답 처리 규율까지 — Kotlin 미니 예제와 흔한 실수와 함께 살펴봅니다.
    사용 가능
  • Ktor Client “no magic”: HttpClient, HttpResponse, bodyAsText()

    Kotlin SELF
    레벨 58,레슨 1
    Ktor Client를 “no magic” 방식으로 살펴봅니다: 왜 HttpClient를 재사용해야 하고 반드시 닫아야 하는지, “raw” HttpResponse를 어떻게 얻는지, status를 확인하고 bodyAsText()로 본문을 읽는 방법을 다룹니다. CIO 엔진으로 최소 클라이언트를 단계별로 조립하고, 콘솔을 위한 runBlocking 브리지를 보여주며, suspend 함수로 리팩터링하고 네트워크 호출에서 자주 나는 실수를 고칩니다.
    사용 가능
  • Ktoreseo JSON integeureisyeon: ContentNegotiationgwa kotlinx.serialization

    Kotlin SELF
    레벨 58,레슨 2
    Ktoreseo “jinsim” JSONeul dalueuneun bangbeop: peulleogeuin ContentNegotiationeul eotteohge yeongyeolhaneunji, kotlinx.serializationeul giban-euro han syeorielleoijeisyeon-eun eotteohge sseuneunji, @Serializablelo modeleul eotteohge seolmyeonghaneunji, response.body<T>()ro tipeuro eungdabeul ilkneun bangbeop, setBody(...)ro JSONeul bonaeneun bangbeop, geurigo Content-Typeeul ijji anneun geotkkaji. Ttohan hyeonsireul bara bon “siljeon” seoljeong-in ignoreUnknownKeyswa jeonhyeongjeogin silsu (bodi i-jung ilgi, JSON model bulilchi deung)do ttak jibeo bongyeotseumnida.
    사용 가능
  • Errors and resilience: non‑2xx vs exceptions, timeouts

    Kotlin SELF
    레벨 58,레슨 3
    Kotlin and Ktor network code resilience: what’s the difference between “the server responded, but the status is non‑2xx” and “there was no response and an exception happened”, why you check status first and only then read the body, how to set timeouts via HttpTimeout, and how to return the result as a value (via a sealed model ApiResult) instead of println inside catch. At the end: a limited retry with a pause and a list of typical mistakes.
    사용 가능
  • Client and scenarios architecture: no “network in CLI”

    Kotlin SELF
    레벨 58,레슨 4
    CLI is responsible only for input/output, scenarios (use-cases) convert network results into “human meaning”, and the network client hides HTTP/JSON details behind the TipsApi contract. We introduce an explicit result ApiResult<T>, show an implementation in Ktor ( HttpClient), assemble dependencies in AppContext (composition root), and extend functionality (endpoint ping) without “editing the whole project”.
    사용 가능
학습
  • 등록
  • Java 과정
  • 과제 도움
  • 요금
  • Java 문법
커뮤니티
  • 사용자
  • 아티클
  • 포럼
  • 채팅
  • 성공 사례
  • 활동
  • 제휴 프로그램
회사
  • 회사 소개
  • 연락처
  • 후기
  • 보도자료실
  • CodeGym for EDU
  • FAQ
  • 지원
CodeGymCodeGym 은(는) 처음부터 Java 프로그래밍을 배우기 위한 온라인 코스입니다. 이 과정은 초보자가 Java를 마스터하기에 완벽한 방법입니다. 즉시 검증 기능이 포함된 1200개 이상의 과제와 Java 기초 이론의 필수 범위를 제공합니다. 학습 성공을 돕기 위해 퀴즈, 코딩 프로젝트, 효율적인 학습법 관련 콘텐츠, Java 개발자 경력 관련 자료 등 동기 부여 기능들을 구현했습니다.
팔로우하기
인터페이스 언어
English Deutsch Español हिन्दी Français Português Polski বাংলা 简体中文 मराठी தமிழ் Italiano Bahasa Indonesia 繁體中文 Nederlands 日本語
한국어
Bulgarian Danish Hungarian Basa Jawa Malay Norwegian Romanian Swedish Telugu Thai Українська Filipino Turkish Azərbaycan Русский Vietnamese
"Programmers Are Made, Not Born" © 2026 CodeGym
MastercardVisa
"Programmers Are Made, Not Born" © 2026 CodeGym