keyload/test.sh

3 lines
95 B
Bash
Executable file

#!/bin/sh
curl -F "file=@Testfile.txt" -F "key=${1:-myKey}" "http://localhost:1337/upload.php"