2 ms·
Implementing http://www.curlbuilder.com/ http://www.curlbuilder.com/ with progressive enhancement (without duplicate code) is trivial - in fact it would make a
by simonw 12y ago
Implementing http://www.curlbuilder.com/ http://www.curlbuilder.com/ with progressive enhancement (without duplicate code) is trivial - in fact it would make a great tutorial on how to do progressive enhancement.
Just implement it as a regular form-based application, then add some JavaScript which Ajax-submits the form data and loads in the generated curl command on each keystroke.
(Or you could use server-side JS and share code on the client and server)