in reply to New Bing Search Api (5)
What makes you guess that?
What parts of the documentation make you think that?
Also note that your URL as constructed is not what the documentation suggests to me. The square brackets usually indicate "optional" parts to me and your URL would include them verbatim.
Likely, your URLs should look like:
my $href= 'https://api.cognitive.microsoft.com/bing/v5.0/search?'. $My +BingJsonQuery;
Looking at the examples for the other languages easily confirms that.
From my reading of the documentation, you need to include a custom header Ocp-Apim-Subscription-Key with your key and you're all set.
Maybe now is the time to provide a complete example together with the error response you get from Microsoft instead of turning this into a guessing game.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: New Bing Search Api (5)
by Anonymous Monk on Nov 21, 2016 at 17:57 UTC | |
by Corion (Patriarch) on Nov 21, 2016 at 18:05 UTC | |
by Anonymous Monk on Nov 21, 2016 at 18:17 UTC | |
by Corion (Patriarch) on Nov 21, 2016 at 18:24 UTC | |
by Anonymous Monk on Nov 21, 2016 at 18:40 UTC | |
|