본문으로 건너뛰기
아카데미
초급 코드 지구

API

REST, GraphQL, gRPC, WebSocket.

Every app you use is a conversation between programs. When you open your feed, a client asks a server for posts and gets JSON back, and the rules of that conversation are an API. This track starts from zero: HTTP requests and responses, status codes, JSON, curl and fetch, then designing clean REST resources. After that you learn what makes developers love an API: safe keys and tokens, pagination, errors that help, rate limits, versioning and webhooks, and when to reach for GraphQL, gRPC or WebSockets instead.

Every example is a real HTTP exchange you can read line by line.

레슨
14
시간
2시간
난이도
초급

이 코스의 레슨은 당분간 영어로 제공돼요.

  • 브론즈 도전 가능
  • 실버 도전 가능
  • 골드 잠김

실력을 증명할 준비됐나요?

브론즈, 실버, 골드 세 가지 시험이 기다리고 있어요.

시험 보러 가기

이 코스를 마치면 할 수 있는 것

  • Read any HTTP request and response: method, path, headers, body and status
  • Call APIs from the terminal with curl and from JavaScript with fetch
  • Design clean REST resources and pick the right status codes
  • Keep keys safe, page through long lists and return errors that help
  • Change an API without breaking clients, and verify webhook signatures
  • Know when REST, GraphQL, gRPC or WebSockets fits best

여정

  1. 1
    챕터 1

    Talking HTTP

    What an API is, requests and responses, status codes, JSON with curl and fetch, and REST design.

    0 / 5
  2. 2
    챕터 2

    APIs people love

    Authentication, pagination, helpful errors, rate limits, versions, webhooks and other API styles.

    0 / 5
  3. 3
    챕터 3

    Next level

    Describe, build, secure and test APIs for real users.

    0 / 4

빠른 탐색