Can't get status 200

Can you run:

curl -XPOST "http://172.31.18.8:9200/users/_suggest?pretty" -d '{
    "docsuggest": {
      "text": "l",
      "completion": {
        "field": "name_suggest",
        "fuzzy": true
      }
    }
  }'

BTW _suggest endpoint os deprecated. Can you use instead _search as described at https://www.elastic.co/guide/en/elasticsearch/reference/5.2/search-suggesters.html

So run something like:

curl -XPOST 'http://172.31.18.8:9200/users/_search?pretty' -H 'Content-Type: application/json' -d'
{
  "suggest" : {
    "docsuggest" : {
      "text" : "l",
      "completion" : {
        "field" : "name_suggest",
        "fuzzy": true
      }
    }
  }
}'