* Endpoint change.

* Endpoint change for another url.
This commit is contained in:
Xuan Hu (Sean) 2017-02-26 23:22:08 +08:00 коммит произвёл GitHub
Родитель 23bec2f013
Коммит 13d3956989
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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>