Share via


Sending a request

A request to the HTTP endpoint consists of an HTTP GET request to the appropriate URI. There are two URIs, one for XML results and one for JSON results. These are http://api.search.live.net/xml.aspx and http://api.search.live.net/json.aspx, respectively.

For our sample request, we will use the XML endpoint and query the web for results on the term sushi. Our request will look like this:

http://api.search.live.net/xml.aspx?Appid=<Your App ID HERE!>&query=sushi&sources=web