标签:root blank nsf lock position _id write map shel
Want to provide the smaple RESTful server under uHTTPd on OpenWRT, I select the bash script for a demo
Bash CGI
Web CGI with Bash Script
PostMan Tester
/www/cgi/test.cgi
uHTTPd passes ‘GET’ paramter to bash by ‘$QUERY_STRING’
uHTTPd passes ‘POST’ conent to bash by STDIN, so bash use ‘POST_STRING=$(cat)’ to get them
http://192.168.254.219/cgi-bin/test.cgi
nicephil@gmail.com 2017-4-21
how to write bash shell CGI under uHTTPd
标签:root blank nsf lock position _id write map shel
原文地址:http://www.cnblogs.com/nicephil/p/6744559.html