Skip to content

Commit 1ffa0c7

Browse files
committed
Fix URL and ref to places
1 parent 063e2b5 commit 1ffa0c7

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

articles/cognitive-services/bing-local-business-search/index.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Bing Local Business Search API Documentation
44
titleSuffix: Azure Cognitive Services
55
metadata:
66
title: Bing Local Business Search API Documentation
7-
description: The Bing Local Business Search API is a RESTful service that enables your applications to find information about local places and businesses based on search queries.
7+
description: The Bing Local Business Search API is a RESTful service that enables your applications to find local businesses based on search queries.
88
services: cognitive-services
99
author: mikedodaro
1010
manager: rosh

articles/cognitive-services/bing-local-business-search/quickstarts/local-quickstart.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ The following code creates a `WebRequest`, sets the access key header, and adds
3333
// Replace the accessKey string value with your valid access key.
3434
const string accessKey = "enter key here";
3535
36-
const string uriBase = "https://www.bingapis.com/api/v7/localbusinesses/search";
36+
const string uriBase = "https://api.cognitive.microsoft.com/bing/v7.0/localbusinesses/search";
3737
3838
const string searchTerm = "restaurant in Bellevue";
3939
// Construct the URI of the search request
@@ -73,7 +73,7 @@ namespace localSearch
7373
// Replace the accessKey string value with your valid access key.
7474
const string accessKey = "enter key here";
7575
76-
const string uriBase = "https://www.bingapis.com/api/v7/localbusinesses/search";
76+
const string uriBase = "https://api.cognitive.microsoft.com/bing/v7.0/localbusinesses/search";
7777
7878
const string searchTerm = "restaurant in Bellevue";
7979

articles/cognitive-services/bing-local-business-search/quickstarts/local-search-java-quickstart.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ public class LocalSearchCls {
8888
// Replace the subscriptionKey string value with your valid subscription key.
8989
static String subscriptionKey = "YOUR-ACCESS-KEY";
9090
91-
static String host = "https://www.bingapis.com/api";
92-
static String path = "/v7/localbusinesses/search";
91+
static String host = "https://api.cognitive.microsoft.com/bing/v7.0";
92+
static String path = "/localbusinesses/search";
9393
9494
static String searchTerm = "Hotel in Bellevue";
9595

articles/cognitive-services/bing-local-business-search/quickstarts/local-search-node-quickstart.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ let https = require('https');
4646
// Replace the subscriptionKey string value with your valid subscription key.
4747
let subscriptionKey = 'your-access-key';
4848
49-
let host = 'www.bingapis.com';
50-
let path = '/api/v7/localbusinesses/search';
49+
let host = 'api.cognitive.microsoft.com/bing';
50+
let path = '/v7.0/localbusinesses/search';
5151
5252
let mkt = 'en-US';
5353
let q = 'hotel in Bellevue';

articles/cognitive-services/bing-local-business-search/quickstarts/local-search-python-quickstart.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ import json
4242
# Replace the subscriptionKey string value with your valid subscription key.
4343
subscriptionKey = 'YOUR-SUBSCRIPTION-KEY'
4444
45-
host = 'www.bingapis.com'
46-
path = '/api/v7/localbusinesses/search'
45+
host = 'api.cognitive.microsoft.com/bing'
46+
path = '/v7.0/localbusinesses/search'
4747
4848
query = 'restaurant in Bellevue'
4949

0 commit comments

Comments
 (0)