Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get 404 on resource #45

Open
ralyodio opened this issue Apr 15, 2020 · 2 comments
Open

Get 404 on resource #45

ralyodio opened this issue Apr 15, 2020 · 2 comments

Comments

@ralyodio
Copy link
Contributor

I still get resource not found.

CognitiveServices now forces you to use your own endpoint.

I'm not sure how to pass it. The endpoints for /news/search is what i want.

I'm trying this:

 this.client = require('node-bing-api')({ accKey: opts.apiKey, rootUri: opts.rootUri });

apiKey is my api key and rootUri is BING_ENDPOINT=https://puump.cognitiveservices.azure.com/bing/v7.0

@goferito
Copy link
Owner

Hi chovy,

my apikey expired, and I cannot really test this now.

That seems fine to me. What error do you get?

@ralyodio
Copy link
Contributor Author

Something like "Resource Not Found"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants