page_type | languages | name | description | products | urlFragment | |||
---|---|---|---|---|---|---|---|---|
sample |
|
Quickstart in REST - Postman |
Learn how to create, load, and query an Azure Cognitive Search index using Postman and the latest-version REST APIs.
|
|
rest-api-quickstart |
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.
File/folder | Description |
---|---|
Quickstart |
Contains AzureSearchQuickstart.postman_collection.json, which you can import into Postman |
.gitignore |
Define what to ignore at commit time. |
CONTRIBUTING.md |
Guidelines for contributing to the sample. |
README.md |
This README file. |
LICENSE |
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.