codenoid / portable-http-server

Simple HTTP Server with Dir Listing, Explore & File Upload support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Portable HTTP Server

Features

  • Directory Listing
  • Directory Explore
  • Upload file /upload

Installation

If you already have Go installed on your computer, use :

go get github.com/codenoid/portable-http-server

Usage

$ portable-http-server -help
  -port string
        -port <wanted-port> (default "3000")
# upload a file
$ curl -F "file=@path/to/file.jpg" 127.0.0.1:3000/upload

About

Simple HTTP Server with Dir Listing, Explore & File Upload support


Languages

Language:Go 100.0%