Fix index.html

master
HidUser0 2023-01-16 14:13:26 +03:00
parent 8cc3323f53
commit a3db4bf9de
Signed by: HidUser0
GPG Key ID: 7E3251A2FA52F006
1 changed files with 3 additions and 2 deletions

View File

@ -5,11 +5,12 @@ THE FULL POINTER
{% set fhost_url = url_for("fhost", _external=True).rstrip("/") %}
HTTP POST files here:
curl --proxy 127.0.0.1:4444 -F'file=@yourfile.png' {{ fhost_url }}
Upload command output:
command | curl -T - --proxy 127.0.0.1:4444 http://0xff.i2p
command | curl -T - --proxy 127.0.0.1:4444 {{ fhost_url }}
Upload command output with stderr:
command 2>&1 | curl -T - --proxy 127.0.0.1:4444 http://0xff.i2p
command 2>&1 | curl -T - --proxy 127.0.0.1:4444 {{ fhost_url }}
Or you can shorten URLs:
curl --proxy 127.0.0.1:4444 -F'shorten=http://example.com/some/long/url' {{ fhost_url }}