Skip to main content

API 호출 방법

API 호출 방법

Kolleges Open API는 RESTful 구조를 따릅니다.

  • 데이터 포맷: JSON
  • 요청 방식: HTTPS
  • 표준 HTTP Method 사용: GET, POST, PATCH, DELETE

헤더 설정

Kolleges Open API는 Bearer Token 기반 인증을 사용합니다. 모든 요청에 아래와 같이 Authorization 헤더를 포함해야 합니다:

Authorization: Bearer {your-access-token}

공통 헤더

헤더 이름필수
AuthorizationBearer {access_token}
Content-Typeapplication/json

응답 예시

{
"statusCode": 200,
"message": "결과 메시지",
"data": {
...
}
}