http-server icon indicating copy to clipboard operation
http-server copied to clipboard

Does this support http requests other than GET.

Open pkgodara opened this issue 9 years ago • 2 comments

Like http POST to upload file, DELETE to delete file on some binded ips? And others can only GET.

pkgodara avatar Jul 14 '17 06:07 pkgodara

If yes, please give me an example. I want *.example.com domains to POST & DELETE. Anyone else can only GET.

pkgodara avatar Jul 14 '17 13:07 pkgodara

Currently this is a GET only server--wrapping https://github.com/jfhbrook/node-ecstatic

If you want full-on read/write support, building up from something like http://expressjs.com/ is generally a better approach.

BigBlueHat avatar Aug 03 '17 19:08 BigBlueHat