Azure-Samples/cognitive-services-REST-api-samples

Incorrect endpoint in Bing Image Search Tutorial

domingogallardo opened this issue · 0 comments

This issue is for a: (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

The Bing Web Image Search Tutorial (Tutorials/Bing-Image-Search) doesn't get any image.

The endpoint in the public/js/script.js is not correct.

BING_ENDPOINT = "https://api.cognitive.microsoft.com/bing/v7.0/images/search";

Mention any other details that might be useful

The correct endpoint is:

BING_ENDPOINT = "https://api.bing.microsoft.com/v7.0/images/search";