The endpoint to create an index is: /{index}. To add a type, you have specify it in the body, or create it dynamically when you post documents to indices. The endpoint that you're trying to invoke simply does not exist.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.