Skip to content

Commit 8634152

Browse files
authored
Changed "PUT" to "POST" for index creation.
Docs reference PUT as method for creating index. Should be POST
1 parent cdb81ea commit 8634152

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/search/search-get-started-python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ This index is named "hotels-quickstart" and has the field definitions you see be
122122
}
123123
```
124124

125-
2. In another cell, formulate the request. This PUT request targets the indexes collection of your search service and creates an index based on the index schema you provided in the previous cell.
125+
2. In another cell, formulate the request. This POST request targets the indexes collection of your search service and creates an index based on the index schema you provided in the previous cell.
126126

127127
```python
128128
url = endpoint + "indexes" + api_version

0 commit comments

Comments
 (0)