NanoHttpd / nanohttpd

Tiny, easily embeddable HTTP server in Java.
http://nanohttpd.org
BSD 3-Clause "New" or "Revised" License
6.92k stars 1.69k forks source link

does nanohttpd support CGI? #501

Open zuoshui opened 6 years ago

zuoshui commented 6 years ago

Hi , I have a question to ask, does nanohttpd server support CGI? for example http://192.168.1.1:8080/setup.cgi?ssid=1234&psw=12345678

LordFokas commented 6 years ago

Do you mean you want to map a specific path to execute a CGI binary?

zuoshui commented 6 years ago

Hi LordFokas, I want to setup a http server on android , which need support cgi, for example if user want to configure wifi on Another mobile, he want use CGI format ,like http://192.168.1.1:8080/setup.cgi?ssid=1234&psw=12345678, i want to known , does the Nanohttpd support CGI now?

zuoshui commented 6 years ago

what should i do if i want to support cgi in nanohttpd?

LordFokas commented 6 years ago

Alright, first things first, there's a set of unspoken rules in place. If I ask you a question, that means I'm spending some of my very limited time to help you. If you don't answer my questions I reserve myself the right to move on and use my time elsewhere.

But I'll give you another chance. Tell me this:

Before you answer me you should probably take the time to research whatever it is in my questions you don't know about. If you just keep asking about "CGI support" without actually stating what you want to accomplish I'll have to close this and move on.