Maybe now is a good moment to revisit the Microsoft documentation you already linked and my first reply, both of which mention Ocp-Apim-Subscription-Key, which is missing from all your code. Note that the WWW-Authenticate header you get back also shows that header name.
Most likely the correct approach is to add a header with that name and your secret key as the value.
In reply to Re^5: New Bing Search Api (5)
by Corion
in thread New Bing Search Api (5)
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |