Azure Cognitive Search Quickstart in REST - Postman
Demonstrates using Postman and the Azure Cognitive Search REST APIs to send requests: create an index, load it with documents, and execute a few queries. Requests are provided in the V2 collection format, which you can import and then modify for connections to your search service.
This collection is featured in the Quickstart: Create a search index in Postman using REST APIs. When you import the collection, modify the headers and URL to use your service name and API key. The index is modeled on a subset of the Hotels dataset, reduced for readability and comprehension. Index definition and documents are included in the code.
||Contains AzureSearchQuickstart.postman_collection.json, which you can import into Postman|
||Define what to ignore at commit time.|
||Guidelines for contributing to the sample.|
||This README file.|
||The license for the sample.|
- Clone or download this sample repository.
- Extract contents if the download is a zip file. Make sure the files are read-write.
- Start Postman and import AzureSearchQuickstart.postman_collection.json
- For each request, update the Header to use the admin api-key of your service, which you can obtain from the portal.
- Next, update the URL of each request to use the name of your search service.
- Send each request to the service.
You can learn more about Azure Cognitive Search on the official documentation site.