Quickstart in REST
Demonstrates the Azure AI Search REST APIs to send requests: create an index, load it with documents, and execute a few queries. Requests are provided in an az-search-quickstart.rest
file, which you can open and then modify for connections to your search service.
These requests are explained in the Quickstart: Text search with REST article.
Prerequisites
Visual Studio Code with a REST client.
Azure AI Search. Create or find an existing Azure AI Search resource under your current subscription. You can use a free service for this quickstart.
Set up the sample
- Clone or download this sample repository.
- Extract contents if the download is a zip file. Make sure the files are read-write.
Run the code
- Start Visual Studio Code and open the
az-search-quickstart.rest
file. - Provide a valid search service name and API key in the variables.
- Save the file.
- Send each request to the service.
Next steps
You can learn more about Azure AI Search on the official documentation site.