Wget, Curl and POST (refs): Difference between revisions

From WikiMLT
mNo edit summary
mNo edit summary
Line 7: Line 7:
References:
References:
* [https://askubuntu.com/q/968652/566421 GET and POST requests by Wget and/or CURL]
* [https://askubuntu.com/q/968652/566421 GET and POST requests by Wget and/or CURL]
* [https://askubuntu.com/a/1031908/566421 Auto login on page via CLI by the POST command.]
* [https://askubuntu.com/a/1031908/566421 Auto login on page via CLI by the POST command]
* [[Text_Processing:_Remove_Carriage_Return]]
* [[Text Processing: Remove Carriage Return]]

Revision as of 14:28, 5 August 2022

Down­load a script from Paste­Bin by curl:

curl https://pastebin.com/raw/HrLTibuR | \
sed -e 's/\r$//' | sudo tee /ust/local/bin/merge-video-sub.sh && \
sudo chmod +x /ust/local/bin/merge-video-sub.sh

Ref­er­ences: