1. url转义
特殊字符需要转义(想想怎样在浏览器地址上转义特殊字符?)
/ -> %2F , ex:
vagrant@vagrant-ubuntu-trusty-64:~/openwhisk/ansible$ curl -X GET http://localhost:5984/root_vagrant-ubuntu-trusty-64_whisks/whisk.system/samples/echo
{"error":"not_found","reason":"missing"}
curl -X GET http://localhost:5984/root_vagrant-ubuntu-trusty-64_whisks/whisk.system%2Fsamples%2Fecho