ADD examples for the donwload of pastes
This commit is contained in:
parent
ef39cc12e1
commit
6e9390c197
2 changed files with 12 additions and 6 deletions
|
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
9
main.py
9
main.py
|
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue