mirror of
https://github.com/actix/examples
synced 2024-12-02 18:02:22 +01:00
12 lines
280 B
Bash
Executable File
12 lines
280 B
Bash
Executable File
#!/bin/bash
|
|
|
|
function SubmitFile () {
|
|
curl -X POST \
|
|
-H "Content-Type: multipart/related" \
|
|
--form "data=@example.png;type=image/png" http://localhost:8080
|
|
}
|
|
|
|
SubmitFile & SubmitFile & SubmitFile &
|
|
SubmitFile & SubmitFile & SubmitFile &
|
|
SubmitFile & SubmitFile & SubmitFile
|