Using cURL:
curl -F 'files=@example.png' https://up.foul.sh
Upload multiple files:
curl -F 'files=@example1.png' -F 'files=@example2.pdf' https://up.foul.sh
Upload plain text directly:
curl -F 'files=@-' https://up.foul.sh