aboutsummaryrefslogtreecommitdiff
path: root/fhost.py
diff options
context:
space:
mode:
authorcreme <creme@envs.net>2020-01-14 17:14:55 +0100
committercreme <creme@envs.net>2020-01-14 17:14:55 +0100
commit4b067e1913bec9c05bb90068c799bf1349f77f32 (patch)
tree1df337ad3cad927f3a419cf9324584b03af4bf3e /fhost.py
parentmore changes for envs (diff)
downloadhex-zero-4b067e1913bec9c05bb90068c799bf1349f77f32.tar.gz
hex-zero-4b067e1913bec9c05bb90068c799bf1349f77f32.tar.bz2
hex-zero-4b067e1913bec9c05bb90068c799bf1349f77f32.zip
add a direct text example
Diffstat (limited to 'fhost.py')
-rwxr-xr-xfhost.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/fhost.py b/fhost.py
index b5d160c..9eb271b 100755
--- a/fhost.py
+++ b/fhost.py
@@ -383,6 +383,8 @@ you can also POST remote URLs:
<code>curl -F'url=https://example.com/image.jpg' {0}</code>
or you can shorten URLs:
<code>curl -F'shorten=http://example.com/some/long/url' {0}</code>
+post your text directly:
+ <code>echo "text here" | curl -F'file=@-;' {0}</code>
file URLs are valid for at least 30 days and up to a year (see below).
shortened URLs do not expire.
bgstack15