I've run into an issue that Elasticsearch is not allowing POST requests using Postman, even after adding the following:
http.cors.allow-methods: OPTIONS, HEAD, POST, PUT, GET, DELETE
http.cors.allow-headers: "X-Requested-With, Content-Type, Content-Length, X-User"
I get the following returned:
"error": "Incorrect HTTP method for uri [/kb_articles] and method [POST], allowed: [PUT, HEAD, GET, DELETE]",
What it looks like is that Elastic is not accepting the configs or there is another config file overwriting the type of requests allowed. This is a fairly new install, and I haven't added any other configs, I've only modified the /etc/elasticsearch/elasticsearch.yml file with the code above.