From 59e9250b1573e6ea8065d67b8080b52e182aed7c Mon Sep 17 00:00:00 2001 From: Jack Eilles Date: Tue, 27 Feb 2024 10:30:02 +0000 Subject: [PATCH] forgot links on examples lmao --- app/templates/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/templates/index.html b/app/templates/index.html index 8a48993..7e8df06 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -19,7 +19,7 @@

For example, using curl:

curl -F "file=@/path/to/file" https://xygt.cc

You can also add extra flags onto your command, for example:

- curl -F "file=@/path/to/file" -F "retention=1024" -F "userid=6fd12a" -F "idpass=6ad5ec8ff9a14b45" + curl -F "file=@/path/to/file" -F "retention=1024" -F "userid=6fd12a" -F "idpass=6ad5ec8ff9a14b45" https://xygt.cc

You can pipe plain text into the file flag, for example:

echo "Hello, World!" | curl -F "file=@-" https://xygt.cc
@@ -41,7 +41,7 @@

For example, using curl:

curl -F "url=https://example.com" https://xygt.cc

You can also add extra flags onto your command, for example:

- curl -F "url=https://example.com" -F "retention=1024" -F "userid=6fd12a" + curl -F "url=https://example.com" -F "retention=1024" -F "userid=6fd12a" https://xygt.cc

URL Shortening through the site is currently disabled due to a security vulnerability.

Use curl instead.