3 ms·
> Implementing curl app server-side would require double work which is against principles of progressive enhancement (or programming in general). That's exactl
by wtbob 12y ago
> Implementing curl app server-side would require double work which is against principles of progressive enhancement (or programming in general).
That's exactly the use-case of server-side JavaScript! Write a small library to build curl commands; use it in both the web page's JS and on the server, with a small shim on each. 1¼ times the work.