An open API service indexing awesome lists of open source software.

https://github.com/codenoid/portable-http-server

Simple HTTP Server with Dir Listing, Explore & File Upload support
https://github.com/codenoid/portable-http-server

Last synced: 10 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# Portable HTTP Server

## Features

- [x] Directory Listing
- [x] Directory Explore
- [x] Upload file `/upload`

## Installation

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

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

## Usage

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