elasticsearch test analyzer

Easy way to test a new analyzer via curl:
curl 'localhost:9200/_analyze?text=the+quick+brown+fox+jumps+over+the+lazy+dog&pretty&analyzer=snowball'