Switch to new APIM domain
This commit is contained in:
Родитель
90db83b738
Коммит
e80203e50c
|
@ -46,7 +46,7 @@ class IdentificationServiceHttpClientHelper:
|
|||
|
||||
_STATUS_OK = 200
|
||||
_STATUS_ACCEPTED = 202
|
||||
_BASE_URI = 'api.projectoxford.ai'
|
||||
_BASE_URI = 'westus.api.cognitive.microsoft.com'
|
||||
_IDENTIFICATION_PROFILES_URI = '/spid/v1.0/identificationProfiles'
|
||||
_IDENTIFICATION_URI = '/spid/v1.0/identify'
|
||||
_SUBSCRIPTION_KEY_HEADER = 'Ocp-Apim-Subscription-Key'
|
||||
|
|
|
@ -13,7 +13,7 @@ class VerificationServiceHttpClientHelper:
|
|||
"""Abstracts the interaction with the Verification service."""
|
||||
|
||||
_STATUS_OK = 200
|
||||
_BASE_URI = 'api.projectoxford.ai'
|
||||
_BASE_URI = 'westus.api.cognitive.microsoft.com'
|
||||
_VERIFICATION_PROFILES_URI = '/spid/v1.0/verificationProfiles'
|
||||
_VERIFICATION_URI = '/spid/v1.0/verify'
|
||||
_SUBSCRIPTION_KEY_HEADER = 'Ocp-Apim-Subscription-Key'
|
||||
|
|
Загрузка…
Ссылка в новой задаче