==========
Curl 1
-------------------------------------
curl -XPUT 'http://localhost:9200/twitter/tweet/1' -d '{
  "user" : "kimchy",
  "post_date" : "2009-11-15T14:12:12",
  "message" : "trying out Elastic Search"
}'
-------------------------------------
PUT /twitter/tweet/1
{
  "user" : "kimchy",
  "post_date" : "2009-11-15T14:12:12",
  "message" : "trying out Elastic Search"
}
==========
Curl 2
-------------------------------------
curl -XGET "localhost/twitter/tweet/1?version=2" -d '{
   "message" : "elasticsearch now has versioning support, double cool!"
}'
-------------------------------------
GET /twitter/tweet/1?version=2
{
   "message" : "elasticsearch now has versioning support, double cool!"
}
===========
Curl 3
-------------------------------------
curl -XPOST https://localhost/twitter/tweet/1?version=2 -d '{
   "message" : "elasticsearch now has versioning support, double cool!"
}'
-------------------------------------
POST /twitter/tweet/1?version=2
{
   "message" : "elasticsearch now has versioning support, double cool!"
}
=========
Curl 4
-------------------------------------
curl -XPOST https://localhost/twitter
-------------------------------------
POST /twitter
==========
Curl 5
-------------------------------------
curl -X POST https://localhost/twitter/
-------------------------------------
POST /twitter/
=============
Curl 6
-------------------------------------
curl -s -XPOST localhost:9200/missing-test -d'
{
  "mappings": {
  }
}'
-------------------------------------
POST /missing-test
{
  "mappings": {
  }
}
=========================
Curl 7
-------------------------------------
curl 'localhost:9200/missing-test/doc/_search?pretty' -d'
{
  "query": {
  },
}'
-------------------------------------
GET /missing-test/doc/_search?pretty
{
  "query": {
  },
}
===========================
Curl 8
-------------------------------------
curl localhost:9200/ -d'
{
  "query": {
  }
}'
-------------------------------------
GET /
{
  "query": {
  }
}
====================================
Curl Script
-------------------------------------
#!bin/sh

// test something
curl 'localhost:9200/missing-test/doc/_search?pretty' -d'
{
  "query": {
  },
}'


curl -XPOST https://localhost/twitter

#someother comments
curl localhost:9200/ -d'
{
  "query": {
  }
}'


-------------------
# test something
GET /missing-test/doc/_search?pretty
{
  "query": {
  },
}

POST /twitter

#someother comments
GET /
{
  "query": {
  }
}
====================================
Curl with some text
-------------------------------------
This is what I meant:

curl 'localhost:9200/missing-test/doc/_search?'

This, however, does work:
curl 'localhost:9200/missing/doc/_search?'
-------------------
### This is what I meant:

GET /missing-test/doc/_search?

### This, however, does work:
GET /missing/doc/_search?
