Skip to content

Commit

Permalink
Endpoint change. (microsoft#8)
Browse files Browse the repository at this point in the history
* Endpoint change.

* Endpoint change for another url.
  • Loading branch information
huxuan authored Feb 26, 2017
1 parent 23bec2f commit 13d3956
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
2 changes: 1 addition & 1 deletion Sample/app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -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>

Expand Down

0 comments on commit 13d3956

Please sign in to comment.