I am unable to call _optimize api as per documentation of elastic search.
Error "Request Body is required"
What do we need to send in Request Body?
I have tried calling api using Curl and fiddler both.
Please provide sample request for_optimize api?
ElasticSearch version 1.6
I have already created an index with name 'testindex'
C:\curl-7.53.1\src>curl -XPOST localhost:9200/testindex/_optimize