We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f41dec9 commit d97c390Copy full SHA for d97c390
python/Search/BingCustomSearchv7.py
@@ -16,9 +16,11 @@
16
customConfigId = "1" #you can also use "1"
17
searchTerm = "microsoft"
18
# </importsAndVars>
19
-# <request>
+# <url>
20
# Add your Bing Custom Search endpoint to your environment variables.
21
url = endpoint + "/search?q=" + searchTerm + "&customconfig=" + customConfigId
22
+# </url>
23
+# <request>
24
r = requests.get(url, headers={'Ocp-Apim-Subscription-Key': subscriptionKey})
25
print(r.text)
26
# </request>
0 commit comments