1
0
mirror of https://github.com/actix/examples synced 2024-11-24 06:43:00 +01:00
examples/multipart/client.sh
2019-08-13 11:29:25 -03:00

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