From 597e5dba9090630821d148914f5bc93a5f0bdb5a Mon Sep 17 00:00:00 2001 From: Alvie Rahman Date: Tue, 18 May 2021 18:15:44 +0100 Subject: [PATCH] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 0909060..e66a35b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,12 @@ # uploadr Upload files to a server on your local network for faster and simpler file transfers across a network. +## upload from command line + +```bash +curl -X POST -i -F "file=@" host:5000/upload +``` + ## config The config file for uploadr is very simple. It should be in a class called `uploadr` in a file called `config.py`. It should be valid python and the two options needed are `domain` and `port` which are both used for the creation of QR code links. The file can also be used as the config file for gunicorn. Here is an example below: