Thanks for the information. Please refer to this reference document for the correct Bing News Search API endpoint, headers, and parameters. Also, here's a summary of all Bing Search APIs, for each reference, you'd find endpoint details under Reference > REST. Hope this helps.
Sample endpoints:
https://api.bing.microsoft.com/v7.0/news
https://api.bing.microsoft.com/v7.0/news/search
https://api.bing.microsoft.com/v7.0/news/trendingtopics
Sorry about that. I am trying to use Bing News Api.
When I try to go to the Endpoint https://api.bing.microsoft.com/News, in return, I am getting this.
{"error":{"code":"404","message": "Resource not found"}}
After looking at documentation, I see that endpoint is: https://api.bing.microsoft.com/v7.0
I tried using this endpoint to get the result with key that I found from Azure > Bing Resources > projectname > Keys and Endpoint
https://api.bing.microsoft.com/v7.0/news/search?q=microsoft+devices&Ocp-Apim-Subscription-Key=
I am getting this.
{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}
@GiftA-MSFT