test
curl -F api_key=<api_key> -F api_secret=<api_secret> –F image=@test2.txt -F return_portrait=1
curl localhost/api/file/send '{\"fileName\":\"test2.png\"}' -F "file=@./test.png" -H "token:222" -v
curl localhost/api/file/send -d "{\"fileName\":\"test2.png\"}"
curl localhost/api/file/send -F "file=@./test.png" -H "token:222" -v

curl -d 'use=sei' localhost/api/print/query
curl -d '{\"user\":\"jkj\"}'  localhost/api/print/query 
curl -d "{\"keyword\":\"user\",\"value\":\"wnag\"}"  localhost/api/print/query
curl -d "{\"keyword\":\"user\",\"value\":\"wnag\"}" localhost/api/print/body

curl  -X POST localhost/api/SQL/adduser -H 'Content-Type: application/json'   -d '{"name":"Joe","passwd":"joe@labstack"}'
curl  -X POST localhost/api/SQL/adduser -H 'Content-Type: application/json'   -d‘{\"name\":\"na\",\"passwd\":\"pass\"}’
curl  -X POST localhost/api/SQL/test -H 'Content-Type: application/json'   -d‘{\"name\":\"na\",\"passwd\":\"pass\"}’
curl http://127.0.0.1:8080/api/SQL/adduser -X POST -H "Content-Type: application/json" -d {"name":"1","passwd":"934"} 

//有效的 
curl localhost/api/SQL/adduser -X POST -H "Content-Type: application/json" -d "{\"name\":\"add\",\"passwd\":\"yyy\"}"
{"id":22,"name":"add","passwd":"yyy"}

curl localhost/api/file/recv -F "file=@./test2.txt" -H "token:222" -v
curl localhost/api/file/send -X POST -H "Content-Type: application/json" -d “{\"fileName\":\"test2\",\"fileType\":\"txt\"}”