Skip to content

Commit

Permalink
Updated key/endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
wiazur authored Sep 4, 2019
1 parent 0d20f1e commit 41d67d1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nodejs/Search/BingAutosuggestv7.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ let https = require ('https');
// *** Update or verify the following values. ***
// **********************************************

// Replace the subscriptionKey string value with your valid subscription key.
let subscriptionKey = 'enter key here';

let host = 'api.cognitive.microsoft.com';
// Add your Bing Autosuggest subscription key to your environment variables.
let subscriptionKey = process.env['BING_AUTOSUGGEST_SUBSCRIPTION_KEY']
// Add your Bing Autosuggest endpoint to your environment variables.
let host = process.env['BING_AUTOSUGGEST_endpoint']
let path = '/bing/v7.0/Suggestions';

let mkt = 'en-US';
Expand Down

0 comments on commit 41d67d1

Please sign in to comment.