ADD examples for the donwload of pastes

This commit is contained in:
Caffeine Fueled 2025-10-04 00:10:45 +02:00
parent ef39cc12e1
commit 6e9390c197
Signed by: cf7
GPG key ID: CA295D643074C68C
2 changed files with 12 additions and 6 deletions

View file

@ -56,11 +56,14 @@ ipconfig | Invoke-RestMethod -Uri "https://linedump.com/" -Method Post -Body { $
█ Download:
curl https://linedump.com/{path}
curl https://linedump.com/{path} # print to stdout
curl -o filename.txt https://linedump.com/{path} # save to file
wget -O- https://linedump.com/{path}
wget -O- https://linedump.com/{path} # print to stdout
wget -O filename.txt https://linedump.com/{path} # save to file
Invoke-RestMethod -Uri "https://linedump.com/{path}"
Invoke-RestMethod -Uri "https://linedump.com/{path}" # print to stdout
Invoke-RestMethod -Uri "https://linedump.com/{path}" -OutFile "filename.txt" # save to file

View file

@ -143,11 +143,14 @@ ipconfig | Invoke-RestMethod -Uri "{BASEURL}/" -Method Post -Body {{ $_ }}
Download:
curl {BASEURL}/{{path}}
curl {BASEURL}/{{path}} # print to stdout
curl -o filename.txt {BASEURL}/{{path}} # save to file
wget -O- {BASEURL}/{{path}}
wget -O- {BASEURL}/{{path}} # print to stdout
wget -O filename.txt {BASEURL}/{{path}} # save to file
Invoke-RestMethod -Uri "{BASEURL}/{{path}}"
Invoke-RestMethod -Uri "{BASEURL}/{{path}}" # print to stdout
Invoke-RestMethod -Uri "{BASEURL}/{{path}}" -OutFile "filename.txt" # save to file