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

Set up the sample

  1. Clone or download this sample repository.
  2. Extract contents if the download is a zip file. Make sure the files are read-write.

Run the code

  1. Start Visual Studio Code and open the az-search-quickstart.rest file.
  2. Provide a valid search service name and API key in the variables.
  3. Save the file.
  4. Send each request to the service.

Next steps

You can learn more about Azure AI Search on the official documentation site.