v0.0.8 | CORS 설정에 X-NHN-Appkey 헤더 허용 추가
All checks were successful
Build And Test / build-and-push (push) Successful in 36s
All checks were successful
Build And Test / build-and-push (push) Successful in 36s
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@ -46,6 +46,9 @@ class NHNCloudEndpoints:
|
||||
STORAGE_KR1 = "https://kr1-api-object-storage.nhncloudservice.com/v1"
|
||||
STORAGE_KR2 = "https://kr2-api-object-storage.nhncloudservice.com/v1"
|
||||
|
||||
# DNS Plus (글로벌 서비스 - 리전 무관)
|
||||
DNSPLUS = "https://dnsplus.api.nhncloudservice.com"
|
||||
|
||||
|
||||
class NHNCloudAPIError(Exception):
|
||||
"""NHN Cloud API 에러"""
|
||||
@ -163,3 +166,7 @@ class BaseAPI:
|
||||
def _delete(self, url: str, **kwargs) -> dict:
|
||||
"""DELETE 요청"""
|
||||
return self._request("DELETE", url, **kwargs)
|
||||
|
||||
def _patch(self, url: str, json_data: Optional[dict] = None, **kwargs) -> dict:
|
||||
"""PATCH 요청"""
|
||||
return self._request("PATCH", url, json_data=json_data, **kwargs)
|
||||
|
||||
Reference in New Issue
Block a user