[enh] urlencode when sending param via curl, and clearer command line