Using the API from Programmable Environments

Using the API from Programmable Environments

Bing

All the examples we’ve shown so far use a browser (Internet Explorer) to send a request. Of course, being able to test queries with a browser is useful feature of the Bing API , but in general a programmable environment is the desirable environment for invoking the service.

The steps we performed in working with our browser-centric XML example are the same steps you’d perform when using the XML interface from the programming language of your choice: Building a request based on the SourceTypes and query you want to run, sending the request, and parsing the response. In the next section, we’ll see how to send a request to the XML interface from .NET.

In subsequent sections, we’ll see how to use the Bing with:

Show:
© 2016 Microsoft