Endpoint change. (#8)
* Endpoint change. * Endpoint change for another url.
This commit is contained in:
Родитель
23bec2f013
Коммит
13d3956989
|
@ -68,7 +68,7 @@ public class FaceServiceRestClient implements FaceServiceClient {
|
|||
private final WebServiceRequest mRestCall;
|
||||
private Gson mGson = new GsonBuilder().setDateFormat("M/d/yyyy h:m:s a").create();
|
||||
|
||||
private static final String DEFAULT_API_ROOT = "https://api.projectoxford.ai/face/v1.0";
|
||||
private static final String DEFAULT_API_ROOT = "https://westus.api.cognitive.microsoft.com/face/v1.0";
|
||||
private final String mServiceHost;
|
||||
|
||||
private static final String DETECT_QUERY = "detect";
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!-- Copyright (c) Microsoft. All rights reserved. -->
|
||||
|
||||
<resources>
|
||||
<!-- Please refer to https://www.projectoxford.ai/ to get your subscription key -->
|
||||
<!-- Please refer to https://www.microsoft.com/cognitive-services/en-us/ to get your subscription key -->
|
||||
<!-- If you have one subscription key, you can add it here to use the service -->
|
||||
<string name="subscription_key">Please_add_the_subscription_key_here</string>
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче