add post for server

This commit is contained in:
wyy 2014-04-03 18:41:03 -07:00
parent ee8ec6955a
commit b681382205

View File

@ -77,6 +77,17 @@ curl "http://127.0.0.1:11200/?key=南京市长江大桥&format=simple"
南京市 长江大桥
```
同时也支持HTTP POST模式使用如下调用:
```
curl -d "南京市长江大桥" "http://127.0.0.1:11200/"
```
返回结果如下:
```
["南京市", "长江大桥"]
```
### 卸载
```sh