greap.blogg.se

Bing image search
Bing image search











bing image search

curl -D -H "Ocp-Apim-Subscription-Key: " If you want to remove the response data so you can see only the headers, include the -o nul parameter. Here's a cURL call that returns the response headers. To learn more about these headers, see Response headers.

  • BingAPIs-Market - The market used by Bing for the request.
  • X-MSEdge-ClientID - The ID that you need to pass in subsequent request to provide continuity of experience.
  • bing image search

    BingAPIs-TraceId - ID that identifies the request in the log file.Here's a cURL example that includes these headers. To learn more about these headers, see Request headers. The more information you can provide Bing, the better the search experience will be for your users. X-Search-Location - Provides the user's location for location aware queries.X-MSEdge-ClientIP - Provides the user's location for location aware queries.X-MSEdge-ClientID - Provides continuity of experience.User-Agent - Lets Bing know whether the user needs a mobile or desktop experience.curl -H "Ocp-Apim-Subscription-Key: " Īlthough that's all the more you need to do to search the Web, Bing does suggest you include a couple of other headers to provide a better search experience for your user. Change the q query parameter to search for whatever images you'd like. Here's a cURL example that shows you how to call the endpoint using your subscription key.

    bing image search

    If you have your subscription key, just send an HTTP GET request to the following endpoint: Use Bing Image Search API to search the Web for images that matches the user's request.













    Bing image search