http-server
http-server copied to clipboard
Upload Files using POST Requests
Description
Implement capability to upload files, using HTTP POST
requests.
A POST
along with a file attached to the request body should create such file in the provided path.
Why is this useful?
Improve HTTP Server capabilities by enabling the user to create new files in the specific
How should this work?
curl -i -X POST host:port/:root-dir-relative-path \
-H "Content-Type: text/xml" \
--data-binary "@path/to/file"