Hacker News new | ask | show | jobs
by tomwans 5790 days ago
I agree. But also ... just ... something inside me tells me this isn't a good idea. Instead of creating a whole new HTTP request like PATCH to merge all the requests at once, why don't you just send a JSON object to a script with an array of tasks that could be done on the server?

{ "myfolder": [ "move file1.js", "del file2.js" ] }

etc?

1 comments

It just depends what layer of abstraction you think this stuff belongs on. Also, HTTP verbs don't require javascript.