개요#

토큰 기반의 API 연동방식과 지원 정보

  • 메트릭

  • Purge

  • 설정변경

curl -X GET "https://api.example.com/v1/images" \
     -H "Authorization: Bearer <TOKEN>"
import requests
headers = {"Authorization": "Bearer <TOKEN>"}
r = requests.get("https://api.example.com/v1/images", headers=headers)
print(r.json())

Example Request

GET /v1/images HTTP/1.1
Host: api.example.com
Authorization: Bearer <TOKEN>

Example Response

{
  "status": "ok",
  "images": [
    {"id": "123", "url": "https://cdn.example.com/img/123.webp"}
  ]
}