diff --git a/README.md b/README.md index 5d59f08..8bd0e1f 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/main.py b/main.py index 9917f52..d4d5a99 100644 --- a/main.py +++ b/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