$ curl -X PUT http://localhost:9240/document/myapp/123456/myfile.txt
{"status":400,"description":"Invalid parameter file"}
$ curl -X PUT http://localhost:9240/document/myapp/123456/myfile.txt
{"status":409,"description":"A document with this doc_id already exists"}