Only use PUT
for index creation, not POST.
#20001
Merged
PUT
for index creation, not POST.
#20001